Class NetworkInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.NetworkInfo.Builder
- All Implemented Interfaces:
NetworkInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- NetworkInfo
public static final class NetworkInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
implements NetworkInfoOrBuilder
For display only. Metadata associated with a Compute Engine network.Protobuf type
google.cloud.networkmanagement.v1beta1.NetworkInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Name of a Compute Engine network.The IP range of the subnet matching the source IP address of the test.URI of the subnet matching the source IP address of the test.The region of the subnet matching the source IP address of the test.clearUri()URI of a Compute Engine network.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName of a Compute Engine network.com.google.protobuf.ByteStringName of a Compute Engine network.The IP range of the subnet matching the source IP address of the test.com.google.protobuf.ByteStringThe IP range of the subnet matching the source IP address of the test.URI of the subnet matching the source IP address of the test.com.google.protobuf.ByteStringURI of the subnet matching the source IP address of the test.The region of the subnet matching the source IP address of the test.com.google.protobuf.ByteStringThe region of the subnet matching the source IP address of the test.getUri()URI of a Compute Engine network.com.google.protobuf.ByteStringURI of a Compute Engine network.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(NetworkInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Name of a Compute Engine network.setDisplayNameBytes(com.google.protobuf.ByteString value) Name of a Compute Engine network.setMatchedIpRange(String value) The IP range of the subnet matching the source IP address of the test.setMatchedIpRangeBytes(com.google.protobuf.ByteString value) The IP range of the subnet matching the source IP address of the test.setMatchedSubnetUri(String value) URI of the subnet matching the source IP address of the test.setMatchedSubnetUriBytes(com.google.protobuf.ByteString value) URI of the subnet matching the source IP address of the test.The region of the subnet matching the source IP address of the test.setRegionBytes(com.google.protobuf.ByteString value) The region of the subnet matching the source IP address of the test.URI of a Compute Engine network.setUriBytes(com.google.protobuf.ByteString value) URI of a Compute Engine network.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
-
mergeFrom
public NetworkInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NetworkInfo.Builder>- Throws:
IOException
-
getDisplayName
Name of a Compute Engine network.
string display_name = 1;- Specified by:
getDisplayNamein interfaceNetworkInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name of a Compute Engine network.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceNetworkInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of a Compute Engine network.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of a Compute Engine network.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of a Compute Engine network.
string display_name = 1;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUri
URI of a Compute Engine network.
string uri = 2;- Specified by:
getUriin interfaceNetworkInfoOrBuilder- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()URI of a Compute Engine network.
string uri = 2;- Specified by:
getUriBytesin interfaceNetworkInfoOrBuilder- Returns:
- The bytes for uri.
-
setUri
URI of a Compute Engine network.
string uri = 2;- Parameters:
value- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
URI of a Compute Engine network.
string uri = 2;- Returns:
- This builder for chaining.
-
setUriBytes
URI of a Compute Engine network.
string uri = 2;- Parameters:
value- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getMatchedSubnetUri
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;- Specified by:
getMatchedSubnetUriin interfaceNetworkInfoOrBuilder- Returns:
- The matchedSubnetUri.
-
getMatchedSubnetUriBytes
public com.google.protobuf.ByteString getMatchedSubnetUriBytes()URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;- Specified by:
getMatchedSubnetUriBytesin interfaceNetworkInfoOrBuilder- Returns:
- The bytes for matchedSubnetUri.
-
setMatchedSubnetUri
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;- Parameters:
value- The matchedSubnetUri to set.- Returns:
- This builder for chaining.
-
clearMatchedSubnetUri
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;- Returns:
- This builder for chaining.
-
setMatchedSubnetUriBytes
URI of the subnet matching the source IP address of the test.
string matched_subnet_uri = 5;- Parameters:
value- The bytes for matchedSubnetUri to set.- Returns:
- This builder for chaining.
-
getMatchedIpRange
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;- Specified by:
getMatchedIpRangein interfaceNetworkInfoOrBuilder- Returns:
- The matchedIpRange.
-
getMatchedIpRangeBytes
public com.google.protobuf.ByteString getMatchedIpRangeBytes()The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;- Specified by:
getMatchedIpRangeBytesin interfaceNetworkInfoOrBuilder- Returns:
- The bytes for matchedIpRange.
-
setMatchedIpRange
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;- Parameters:
value- The matchedIpRange to set.- Returns:
- This builder for chaining.
-
clearMatchedIpRange
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;- Returns:
- This builder for chaining.
-
setMatchedIpRangeBytes
The IP range of the subnet matching the source IP address of the test.
string matched_ip_range = 4;- Parameters:
value- The bytes for matchedIpRange to set.- Returns:
- This builder for chaining.
-
getRegion
The region of the subnet matching the source IP address of the test.
string region = 6;- Specified by:
getRegionin interfaceNetworkInfoOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()The region of the subnet matching the source IP address of the test.
string region = 6;- Specified by:
getRegionBytesin interfaceNetworkInfoOrBuilder- Returns:
- The bytes for region.
-
setRegion
The region of the subnet matching the source IP address of the test.
string region = 6;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
The region of the subnet matching the source IP address of the test.
string region = 6;- Returns:
- This builder for chaining.
-
setRegionBytes
The region of the subnet matching the source IP address of the test.
string region = 6;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-