Class VpcConnectorInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VpcConnectorInfo.Builder>
com.google.cloud.networkmanagement.v1beta1.VpcConnectorInfo.Builder
All Implemented Interfaces:
VpcConnectorInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
VpcConnectorInfo

public static final class VpcConnectorInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<VpcConnectorInfo.Builder> implements VpcConnectorInfoOrBuilder
 For display only. Metadata associated with a VPC connector.
 
Protobuf type google.cloud.networkmanagement.v1beta1.VpcConnectorInfo
  • 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<VpcConnectorInfo.Builder>
    • clear

      public VpcConnectorInfo.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<VpcConnectorInfo.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<VpcConnectorInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public VpcConnectorInfo.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<VpcConnectorInfo.Builder>
    • mergeFrom

      public VpcConnectorInfo.Builder mergeFrom(VpcConnectorInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<VpcConnectorInfo.Builder>
    • mergeFrom

      public VpcConnectorInfo.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<VpcConnectorInfo.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Name of a VPC connector.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface VpcConnectorInfoOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

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

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

      public VpcConnectorInfo.Builder clearDisplayName()
       Name of a VPC connector.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

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

      public String getUri()
       URI of a VPC connector.
       
      string uri = 2;
      Specified by:
      getUri in interface VpcConnectorInfoOrBuilder
      Returns:
      The uri.
    • getUriBytes

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

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

      public VpcConnectorInfo.Builder clearUri()
       URI of a VPC connector.
       
      string uri = 2;
      Returns:
      This builder for chaining.
    • setUriBytes

      public VpcConnectorInfo.Builder setUriBytes(com.google.protobuf.ByteString value)
       URI of a VPC connector.
       
      string uri = 2;
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       Location in which the VPC connector is deployed.
       
      string location = 3;
      Specified by:
      getLocation in interface VpcConnectorInfoOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       Location in which the VPC connector is deployed.
       
      string location = 3;
      Specified by:
      getLocationBytes in interface VpcConnectorInfoOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public VpcConnectorInfo.Builder setLocation(String value)
       Location in which the VPC connector is deployed.
       
      string location = 3;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public VpcConnectorInfo.Builder clearLocation()
       Location in which the VPC connector is deployed.
       
      string location = 3;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public VpcConnectorInfo.Builder setLocationBytes(com.google.protobuf.ByteString value)
       Location in which the VPC connector is deployed.
       
      string location = 3;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.