Class NetworkingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<NetworkingConfig.Builder>
com.google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.Builder
All Implemented Interfaces:
NetworkingConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
NetworkingConfig

public static final class NetworkingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<NetworkingConfig.Builder> implements NetworkingConfigOrBuilder
 Configuration options for networking connections in the Composer 2
 environment.
 
Protobuf type google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig
  • 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<NetworkingConfig.Builder>
    • clear

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

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

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

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

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

      public NetworkingConfig.Builder mergeFrom(NetworkingConfig other)
    • isInitialized

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

      public NetworkingConfig.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<NetworkingConfig.Builder>
      Throws:
      IOException
    • getConnectionTypeValue

      public int getConnectionTypeValue()
       Optional. Indicates the user requested specific connection type between
       Tenant and Customer projects. You cannot set networking connection type in
       public IP environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionTypeValue in interface NetworkingConfigOrBuilder
      Returns:
      The enum numeric value on the wire for connectionType.
    • setConnectionTypeValue

      public NetworkingConfig.Builder setConnectionTypeValue(int value)
       Optional. Indicates the user requested specific connection type between
       Tenant and Customer projects. You cannot set networking connection type in
       public IP environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for connectionType to set.
      Returns:
      This builder for chaining.
    • getConnectionType

      public NetworkingConfig.ConnectionType getConnectionType()
       Optional. Indicates the user requested specific connection type between
       Tenant and Customer projects. You cannot set networking connection type in
       public IP environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectionType in interface NetworkingConfigOrBuilder
      Returns:
      The connectionType.
    • setConnectionType

       Optional. Indicates the user requested specific connection type between
       Tenant and Customer projects. You cannot set networking connection type in
       public IP environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The connectionType to set.
      Returns:
      This builder for chaining.
    • clearConnectionType

      public NetworkingConfig.Builder clearConnectionType()
       Optional. Indicates the user requested specific connection type between
       Tenant and Customer projects. You cannot set networking connection type in
       public IP environment.
       
      .google.cloud.orchestration.airflow.service.v1beta1.NetworkingConfig.ConnectionType connection_type = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.