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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
    • clear

      public NetworkInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NetworkInfo.Builder>
    • getDefaultInstanceForType

      public NetworkInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NetworkInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NetworkInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NetworkInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkInfo.Builder>
    • mergeFrom

      public NetworkInfo.Builder mergeFrom(NetworkInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NetworkInfo.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Name of a Compute Engine network.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface NetworkInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Name of a Compute Engine network.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface NetworkInfoOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public NetworkInfo.Builder setDisplayName(String value)
       Name of a Compute Engine network.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public NetworkInfo.Builder clearDisplayName()
       Name of a Compute Engine network.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public NetworkInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Name of a Compute Engine network.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getUri

      public String getUri()
       URI of a Compute Engine network.
       
      string uri = 2;
      Specified by:
      getUri in interface NetworkInfoOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       URI of a Compute Engine network.
       
      string uri = 2;
      Specified by:
      getUriBytes in interface NetworkInfoOrBuilder
      Returns:
      The bytes for uri.
    • setUri

      public NetworkInfo.Builder setUri(String value)
       URI of a Compute Engine network.
       
      string uri = 2;
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

      public NetworkInfo.Builder clearUri()
       URI of a Compute Engine network.
       
      string uri = 2;
      Returns:
      This builder for chaining.
    • setUriBytes

      public NetworkInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI of a Compute Engine network.
       
      string uri = 2;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getMatchedSubnetUri

      public String getMatchedSubnetUri()
       URI of the subnet matching the source IP address of the test.
       
      string matched_subnet_uri = 5;
      Specified by:
      getMatchedSubnetUri in interface NetworkInfoOrBuilder
      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:
      getMatchedSubnetUriBytes in interface NetworkInfoOrBuilder
      Returns:
      The bytes for matchedSubnetUri.
    • setMatchedSubnetUri

      public NetworkInfo.Builder setMatchedSubnetUri(String value)
       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

      public NetworkInfo.Builder clearMatchedSubnetUri()
       URI of the subnet matching the source IP address of the test.
       
      string matched_subnet_uri = 5;
      Returns:
      This builder for chaining.
    • setMatchedSubnetUriBytes

      public NetworkInfo.Builder setMatchedSubnetUriBytes(com.google.protobuf.ByteString value)
       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

      public String getMatchedIpRange()
       The IP range of the subnet matching the source IP address of the test.
       
      string matched_ip_range = 4;
      Specified by:
      getMatchedIpRange in interface NetworkInfoOrBuilder
      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:
      getMatchedIpRangeBytes in interface NetworkInfoOrBuilder
      Returns:
      The bytes for matchedIpRange.
    • setMatchedIpRange

      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;
      Parameters:
      value - The matchedIpRange to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setMatchedIpRangeBytes

      public NetworkInfo.Builder setMatchedIpRangeBytes(com.google.protobuf.ByteString value)
       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

      public String getRegion()
       The region of the subnet matching the source IP address of the test.
       
      string region = 6;
      Specified by:
      getRegion in interface NetworkInfoOrBuilder
      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:
      getRegionBytes in interface NetworkInfoOrBuilder
      Returns:
      The bytes for region.
    • setRegion

      public NetworkInfo.Builder setRegion(String value)
       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

      public NetworkInfo.Builder clearRegion()
       The region of the subnet matching the source IP address of the test.
       
      string region = 6;
      Returns:
      This builder for chaining.
    • setRegionBytes

      public NetworkInfo.Builder setRegionBytes(com.google.protobuf.ByteString value)
       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.