Class PacketMirroringForwardingRuleInfo.Builder (1.47.0)

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

Protobuf type google.cloud.compute.v1.PacketMirroringForwardingRuleInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PacketMirroringForwardingRuleInfo build()
Returns
TypeDescription
PacketMirroringForwardingRuleInfo

buildPartial()

public PacketMirroringForwardingRuleInfo buildPartial()
Returns
TypeDescription
PacketMirroringForwardingRuleInfo

clear()

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

clearCanonicalUrl()

public PacketMirroringForwardingRuleInfo.Builder clearCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

clone()

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

getCanonicalUrl()

public String getCanonicalUrl()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
String

The canonicalUrl.

getCanonicalUrlBytes()

public ByteString getCanonicalUrlBytes()

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

optional string canonical_url = 512294820;

Returns
TypeDescription
ByteString

The bytes for canonicalUrl.

getDefaultInstanceForType()

public PacketMirroringForwardingRuleInfo getDefaultInstanceForType()
Returns
TypeDescription
PacketMirroringForwardingRuleInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for url.

hasCanonicalUrl()

public boolean hasCanonicalUrl()

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

optional string canonical_url = 512294820;

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

Whether the url field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PacketMirroringForwardingRuleInfo other)

public PacketMirroringForwardingRuleInfo.Builder mergeFrom(PacketMirroringForwardingRuleInfo other)
Parameter
NameDescription
otherPacketMirroringForwardingRuleInfo
Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCanonicalUrl(String value)

public PacketMirroringForwardingRuleInfo.Builder setCanonicalUrl(String value)

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

optional string canonical_url = 512294820;

Parameter
NameDescription
valueString

The canonicalUrl to set.

Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

setCanonicalUrlBytes(ByteString value)

public PacketMirroringForwardingRuleInfo.Builder setCanonicalUrlBytes(ByteString value)

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

optional string canonical_url = 512294820;

Parameter
NameDescription
valueByteString

The bytes for canonicalUrl to set.

Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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
NameDescription
valueString

The url to set.

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

The bytes for url to set.

Returns
TypeDescription
PacketMirroringForwardingRuleInfo.Builder

This builder for chaining.