- 1.54.0 (latest)
- 1.53.0
- 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 NetworkInfo.Builder extends GeneratedMessageV3.Builder<NetworkInfo.Builder> implements NetworkInfoOrBuilder
For display only. Metadata associated with a Compute Engine network. Next ID: 7
Protobuf type google.cloud.networkmanagement.v1.NetworkInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > NetworkInfo.BuilderImplements
NetworkInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
build()
public NetworkInfo build()
Returns | |
---|---|
Type | Description |
NetworkInfo |
buildPartial()
public NetworkInfo buildPartial()
Returns | |
---|---|
Type | Description |
NetworkInfo |
clear()
public NetworkInfo.Builder clear()
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
clearDisplayName()
public NetworkInfo.Builder clearDisplayName()
Name of a Compute Engine network.
string display_name = 1;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public NetworkInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
clearMatchedIpRange()
public NetworkInfo.Builder clearMatchedIpRange()
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clearMatchedSubnetUri()
public NetworkInfo.Builder clearMatchedSubnetUri()
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
clearRegion()
public NetworkInfo.Builder clearRegion()
The region of the subnet matching the source IP address of the test.
string region = 6;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clearUri()
public NetworkInfo.Builder clearUri()
URI of a Compute Engine network.
string uri = 2;
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
clone()
public NetworkInfo.Builder clone()
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
getDefaultInstanceForType()
public NetworkInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
NetworkInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Name of a Compute Engine network.
string display_name = 1;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Name of a Compute Engine network.
string display_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getMatchedIpRange()
public String getMatchedIpRange()
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;
Returns | |
---|---|
Type | Description |
String |
The matchedIpRange. |
getMatchedIpRangeBytes()
public ByteString getMatchedIpRangeBytes()
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for matchedIpRange. |
getMatchedSubnetUri()
public String getMatchedSubnetUri()
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;
Returns | |
---|---|
Type | Description |
String |
The matchedSubnetUri. |
getMatchedSubnetUriBytes()
public ByteString getMatchedSubnetUriBytes()
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for matchedSubnetUri. |
getRegion()
public String getRegion()
The region of the subnet matching the source IP address of the test.
string region = 6;
Returns | |
---|---|
Type | Description |
String |
The region. |
getRegionBytes()
public ByteString getRegionBytes()
The region of the subnet matching the source IP address of the test.
string region = 6;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for region. |
getUri()
public String getUri()
URI of a Compute Engine network.
string uri = 2;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
URI of a Compute Engine network.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(NetworkInfo other)
public NetworkInfo.Builder mergeFrom(NetworkInfo other)
Parameter | |
---|---|
Name | Description |
other |
NetworkInfo |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NetworkInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public NetworkInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setDisplayName(String value)
public NetworkInfo.Builder setDisplayName(String value)
Name of a Compute Engine network.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public NetworkInfo.Builder setDisplayNameBytes(ByteString value)
Name of a Compute Engine network.
string display_name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setMatchedIpRange(String value)
public NetworkInfo.Builder setMatchedIpRange(String value)
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;
Parameter | |
---|---|
Name | Description |
value |
String The matchedIpRange to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setMatchedIpRangeBytes(ByteString value)
public NetworkInfo.Builder setMatchedIpRangeBytes(ByteString value)
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for matchedIpRange to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setMatchedSubnetUri(String value)
public NetworkInfo.Builder setMatchedSubnetUri(String value)
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;
Parameter | |
---|---|
Name | Description |
value |
String The matchedSubnetUri to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setMatchedSubnetUriBytes(ByteString value)
public NetworkInfo.Builder setMatchedSubnetUriBytes(ByteString value)
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for matchedSubnetUri to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setRegion(String value)
public NetworkInfo.Builder setRegion(String value)
The region of the subnet matching the source IP address of the test.
string region = 6;
Parameter | |
---|---|
Name | Description |
value |
String The region to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public NetworkInfo.Builder setRegionBytes(ByteString value)
The region of the subnet matching the source IP address of the test.
string region = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for region to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
setUri(String value)
public NetworkInfo.Builder setUri(String value)
URI of a Compute Engine network.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public NetworkInfo.Builder setUriBytes(ByteString value)
URI of a Compute Engine network.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
NetworkInfo.Builder |
This builder for chaining. |