Class EkmConnection.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder>
com.google.cloud.cloudcontrolspartner.v1beta.EkmConnection.Builder
All Implemented Interfaces:
EkmConnectionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
EkmConnection

public static final class EkmConnection.Builder extends com.google.protobuf.GeneratedMessage.Builder<EkmConnection.Builder> implements EkmConnectionOrBuilder
 Details about the EKM connection
 
Protobuf type google.cloud.cloudcontrolspartner.v1beta.EkmConnection
  • 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<EkmConnection.Builder>
    • clear

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

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

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

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

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

      public EkmConnection.Builder mergeFrom(EkmConnection other)
    • isInitialized

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

      public EkmConnection.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<EkmConnection.Builder>
      Throws:
      IOException
    • getConnectionName

      public String getConnectionName()
       Resource name of the EKM connection in the format:
       projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
       
      string connection_name = 1;
      Specified by:
      getConnectionName in interface EkmConnectionOrBuilder
      Returns:
      The connectionName.
    • getConnectionNameBytes

      public com.google.protobuf.ByteString getConnectionNameBytes()
       Resource name of the EKM connection in the format:
       projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
       
      string connection_name = 1;
      Specified by:
      getConnectionNameBytes in interface EkmConnectionOrBuilder
      Returns:
      The bytes for connectionName.
    • setConnectionName

      public EkmConnection.Builder setConnectionName(String value)
       Resource name of the EKM connection in the format:
       projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
       
      string connection_name = 1;
      Parameters:
      value - The connectionName to set.
      Returns:
      This builder for chaining.
    • clearConnectionName

      public EkmConnection.Builder clearConnectionName()
       Resource name of the EKM connection in the format:
       projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
       
      string connection_name = 1;
      Returns:
      This builder for chaining.
    • setConnectionNameBytes

      public EkmConnection.Builder setConnectionNameBytes(com.google.protobuf.ByteString value)
       Resource name of the EKM connection in the format:
       projects/{project}/locations/{location}/ekmConnections/{ekm_connection}
       
      string connection_name = 1;
      Parameters:
      value - The bytes for connectionName to set.
      Returns:
      This builder for chaining.
    • getConnectionStateValue

      public int getConnectionStateValue()
       Output only. The connection state
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectionStateValue in interface EkmConnectionOrBuilder
      Returns:
      The enum numeric value on the wire for connectionState.
    • setConnectionStateValue

      public EkmConnection.Builder setConnectionStateValue(int value)
       Output only. The connection state
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for connectionState to set.
      Returns:
      This builder for chaining.
    • getConnectionState

      public EkmConnection.ConnectionState getConnectionState()
       Output only. The connection state
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getConnectionState in interface EkmConnectionOrBuilder
      Returns:
      The connectionState.
    • setConnectionState

      public EkmConnection.Builder setConnectionState(EkmConnection.ConnectionState value)
       Output only. The connection state
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The connectionState to set.
      Returns:
      This builder for chaining.
    • clearConnectionState

      public EkmConnection.Builder clearConnectionState()
       Output only. The connection state
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionState connection_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasConnectionError

      public boolean hasConnectionError()
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
      Specified by:
      hasConnectionError in interface EkmConnectionOrBuilder
      Returns:
      Whether the connectionError field is set.
    • getConnectionError

      public EkmConnection.ConnectionError getConnectionError()
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
      Specified by:
      getConnectionError in interface EkmConnectionOrBuilder
      Returns:
      The connectionError.
    • setConnectionError

      public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError value)
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
    • setConnectionError

      public EkmConnection.Builder setConnectionError(EkmConnection.ConnectionError.Builder builderForValue)
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
    • mergeConnectionError

      public EkmConnection.Builder mergeConnectionError(EkmConnection.ConnectionError value)
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
    • clearConnectionError

      public EkmConnection.Builder clearConnectionError()
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
    • getConnectionErrorBuilder

      public EkmConnection.ConnectionError.Builder getConnectionErrorBuilder()
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
    • getConnectionErrorOrBuilder

      public EkmConnection.ConnectionErrorOrBuilder getConnectionErrorOrBuilder()
       The connection error that occurred if any
       
      .google.cloud.cloudcontrolspartner.v1beta.EkmConnection.ConnectionError connection_error = 3;
      Specified by:
      getConnectionErrorOrBuilder in interface EkmConnectionOrBuilder