Class ClusterEndpoint.Builder

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

public static final class ClusterEndpoint.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClusterEndpoint.Builder> implements ClusterEndpointOrBuilder
 ClusterEndpoint consists of PSC connections that are created
 as a group in each VPC network for accessing the cluster. In each group,
 there shall be one connection for each service attachment in the cluster.
 
Protobuf type google.cloud.redis.cluster.v1beta1.ClusterEndpoint
  • 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<ClusterEndpoint.Builder>
    • clear

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

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

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

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

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

      public ClusterEndpoint.Builder mergeFrom(ClusterEndpoint other)
    • isInitialized

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

      public ClusterEndpoint.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<ClusterEndpoint.Builder>
      Throws:
      IOException
    • getConnectionsList

      public List<ConnectionDetail> getConnectionsList()
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
      Specified by:
      getConnectionsList in interface ClusterEndpointOrBuilder
    • getConnectionsCount

      public int getConnectionsCount()
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
      Specified by:
      getConnectionsCount in interface ClusterEndpointOrBuilder
    • getConnections

      public ConnectionDetail getConnections(int index)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
      Specified by:
      getConnections in interface ClusterEndpointOrBuilder
    • setConnections

      public ClusterEndpoint.Builder setConnections(int index, ConnectionDetail value)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • setConnections

      public ClusterEndpoint.Builder setConnections(int index, ConnectionDetail.Builder builderForValue)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • addConnections

      public ClusterEndpoint.Builder addConnections(ConnectionDetail value)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • addConnections

      public ClusterEndpoint.Builder addConnections(int index, ConnectionDetail value)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • addConnections

      public ClusterEndpoint.Builder addConnections(ConnectionDetail.Builder builderForValue)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • addConnections

      public ClusterEndpoint.Builder addConnections(int index, ConnectionDetail.Builder builderForValue)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • addAllConnections

      public ClusterEndpoint.Builder addAllConnections(Iterable<? extends ConnectionDetail> values)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • clearConnections

      public ClusterEndpoint.Builder clearConnections()
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • removeConnections

      public ClusterEndpoint.Builder removeConnections(int index)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • getConnectionsBuilder

      public ConnectionDetail.Builder getConnectionsBuilder(int index)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • getConnectionsOrBuilder

      public ConnectionDetailOrBuilder getConnectionsOrBuilder(int index)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
      Specified by:
      getConnectionsOrBuilder in interface ClusterEndpointOrBuilder
    • getConnectionsOrBuilderList

      public List<? extends ConnectionDetailOrBuilder> getConnectionsOrBuilderList()
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
      Specified by:
      getConnectionsOrBuilderList in interface ClusterEndpointOrBuilder
    • addConnectionsBuilder

      public ConnectionDetail.Builder addConnectionsBuilder()
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • addConnectionsBuilder

      public ConnectionDetail.Builder addConnectionsBuilder(int index)
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;
    • getConnectionsBuilderList

      public List<ConnectionDetail.Builder> getConnectionsBuilderList()
       A group of PSC connections. They are created in the same VPC network, one
       for each service attachment in the cluster.
       
      repeated .google.cloud.redis.cluster.v1beta1.ConnectionDetail connections = 1;