Class EkmConnections.Builder

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

public static final class EkmConnections.Builder extends com.google.protobuf.GeneratedMessage.Builder<EkmConnections.Builder> implements EkmConnectionsOrBuilder
 The EKM connections associated with a workload
 
Protobuf type google.cloud.cloudcontrolspartner.v1.EkmConnections
  • 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<EkmConnections.Builder>
    • clear

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

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

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

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

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

      public EkmConnections.Builder mergeFrom(EkmConnections other)
    • isInitialized

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

      public EkmConnections.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<EkmConnections.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface EkmConnectionsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface EkmConnectionsOrBuilder
      Returns:
      The bytes for name.
    • setName

      public EkmConnections.Builder setName(String value)
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public EkmConnections.Builder clearName()
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public EkmConnections.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Format:
       `organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/ekmConnections`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getEkmConnectionsList

      public List<EkmConnection> getEkmConnectionsList()
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
      Specified by:
      getEkmConnectionsList in interface EkmConnectionsOrBuilder
    • getEkmConnectionsCount

      public int getEkmConnectionsCount()
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
      Specified by:
      getEkmConnectionsCount in interface EkmConnectionsOrBuilder
    • getEkmConnections

      public EkmConnection getEkmConnections(int index)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
      Specified by:
      getEkmConnections in interface EkmConnectionsOrBuilder
    • setEkmConnections

      public EkmConnections.Builder setEkmConnections(int index, EkmConnection value)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • setEkmConnections

      public EkmConnections.Builder setEkmConnections(int index, EkmConnection.Builder builderForValue)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • addEkmConnections

      public EkmConnections.Builder addEkmConnections(EkmConnection value)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • addEkmConnections

      public EkmConnections.Builder addEkmConnections(int index, EkmConnection value)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • addEkmConnections

      public EkmConnections.Builder addEkmConnections(EkmConnection.Builder builderForValue)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • addEkmConnections

      public EkmConnections.Builder addEkmConnections(int index, EkmConnection.Builder builderForValue)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • addAllEkmConnections

      public EkmConnections.Builder addAllEkmConnections(Iterable<? extends EkmConnection> values)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • clearEkmConnections

      public EkmConnections.Builder clearEkmConnections()
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • removeEkmConnections

      public EkmConnections.Builder removeEkmConnections(int index)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • getEkmConnectionsBuilder

      public EkmConnection.Builder getEkmConnectionsBuilder(int index)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • getEkmConnectionsOrBuilder

      public EkmConnectionOrBuilder getEkmConnectionsOrBuilder(int index)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
      Specified by:
      getEkmConnectionsOrBuilder in interface EkmConnectionsOrBuilder
    • getEkmConnectionsOrBuilderList

      public List<? extends EkmConnectionOrBuilder> getEkmConnectionsOrBuilderList()
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
      Specified by:
      getEkmConnectionsOrBuilderList in interface EkmConnectionsOrBuilder
    • addEkmConnectionsBuilder

      public EkmConnection.Builder addEkmConnectionsBuilder()
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • addEkmConnectionsBuilder

      public EkmConnection.Builder addEkmConnectionsBuilder(int index)
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;
    • getEkmConnectionsBuilderList

      public List<EkmConnection.Builder> getEkmConnectionsBuilderList()
       The EKM connections associated with the workload
       
      repeated .google.cloud.cloudcontrolspartner.v1.EkmConnection ekm_connections = 2;