- 1.53.0 (latest)
- 1.52.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.1.10
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.v1.ForwardingRuleInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ForwardingRuleInfo.BuilderImplements
ForwardingRuleInfoOrBuilderStatic 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 |
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 |
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 |
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 |
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 |
getDefaultInstanceForType()
public ForwardingRuleInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ForwardingRuleInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ForwardingRuleInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ForwardingRuleInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ForwardingRuleInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ForwardingRuleInfo.Builder |
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 |
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 |
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 |
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. |