public static final class IpMasqueradingSkippedInfo.Builder extends GeneratedMessage.Builder<IpMasqueradingSkippedInfo.Builder> implements IpMasqueradingSkippedInfoOrBuilderFor display only. Contains information about why IP masquerading was skipped for the packet.
Protobuf type google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IpMasqueradingSkippedInfo.BuilderImplements
IpMasqueradingSkippedInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public IpMasqueradingSkippedInfo build()| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo |
|
buildPartial()
public IpMasqueradingSkippedInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo |
|
clear()
public IpMasqueradingSkippedInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
|
clearNonMasqueradeRange()
public IpMasqueradingSkippedInfo.Builder clearNonMasqueradeRange()The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.
string non_masquerade_range = 2;
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
This builder for chaining. |
clearReason()
public IpMasqueradingSkippedInfo.Builder clearReason()Reason why IP masquerading was not applied.
.google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo.Reason reason = 1;
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IpMasqueradingSkippedInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNonMasqueradeRange()
public String getNonMasqueradeRange()The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.
string non_masquerade_range = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nonMasqueradeRange. |
getNonMasqueradeRangeBytes()
public ByteString getNonMasqueradeRangeBytes()The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.
string non_masquerade_range = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nonMasqueradeRange. |
getReason()
public IpMasqueradingSkippedInfo.Reason getReason()Reason why IP masquerading was not applied.
.google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo.Reason reason = 1;
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Reason |
The reason. |
getReasonValue()
public int getReasonValue()Reason why IP masquerading was not applied.
.google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo.Reason reason = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reason. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IpMasqueradingSkippedInfo other)
public IpMasqueradingSkippedInfo.Builder mergeFrom(IpMasqueradingSkippedInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
IpMasqueradingSkippedInfo |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IpMasqueradingSkippedInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IpMasqueradingSkippedInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
|
setNonMasqueradeRange(String value)
public IpMasqueradingSkippedInfo.Builder setNonMasqueradeRange(String value)The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.
string non_masquerade_range = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nonMasqueradeRange to set. |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
This builder for chaining. |
setNonMasqueradeRangeBytes(ByteString value)
public IpMasqueradingSkippedInfo.Builder setNonMasqueradeRangeBytes(ByteString value)The matched non-masquerade IP range. Only set if reason is DESTINATION_IP_IN_CONFIGURED_NON_MASQUERADE_RANGE or DESTINATION_IP_IN_DEFAULT_NON_MASQUERADE_RANGE.
string non_masquerade_range = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nonMasqueradeRange to set. |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
This builder for chaining. |
setReason(IpMasqueradingSkippedInfo.Reason value)
public IpMasqueradingSkippedInfo.Builder setReason(IpMasqueradingSkippedInfo.Reason value)Reason why IP masquerading was not applied.
.google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo.Reason reason = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
IpMasqueradingSkippedInfo.ReasonThe reason to set. |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
This builder for chaining. |
setReasonValue(int value)
public IpMasqueradingSkippedInfo.Builder setReasonValue(int value)Reason why IP masquerading was not applied.
.google.cloud.networkmanagement.v1.IpMasqueradingSkippedInfo.Reason reason = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for reason to set. |
| Returns | |
|---|---|
| Type | Description |
IpMasqueradingSkippedInfo.Builder |
This builder for chaining. |