public static final class Instance.InstanceEndpoint.Builder extends GeneratedMessage.Builder<Instance.InstanceEndpoint.Builder> implements Instance.InstanceEndpointOrBuilder
InstanceEndpoint consists of PSC connections that are created
as a group in each VPC network for accessing the instance. In each group,
there shall be one connection for each service attachment in the cluster.
Protobuf type google.cloud.memorystore.v1beta.Instance.InstanceEndpoint
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllConnections(Iterable<? extends Instance.ConnectionDetail> values)
public Instance.InstanceEndpoint.Builder addAllConnections(Iterable<? extends Instance.ConnectionDetail> values)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1beta.Instance.ConnectionDetail>
|
addConnections(Instance.ConnectionDetail value)
public Instance.InstanceEndpoint.Builder addConnections(Instance.ConnectionDetail value)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
addConnections(Instance.ConnectionDetail.Builder builderForValue)
public Instance.InstanceEndpoint.Builder addConnections(Instance.ConnectionDetail.Builder builderForValue)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
addConnections(int index, Instance.ConnectionDetail value)
public Instance.InstanceEndpoint.Builder addConnections(int index, Instance.ConnectionDetail value)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
addConnections(int index, Instance.ConnectionDetail.Builder builderForValue)
public Instance.InstanceEndpoint.Builder addConnections(int index, Instance.ConnectionDetail.Builder builderForValue)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
addConnectionsBuilder()
public Instance.ConnectionDetail.Builder addConnectionsBuilder()
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
addConnectionsBuilder(int index)
public Instance.ConnectionDetail.Builder addConnectionsBuilder(int index)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
build()
public Instance.InstanceEndpoint build()
buildPartial()
public Instance.InstanceEndpoint buildPartial()
clear()
public Instance.InstanceEndpoint.Builder clear()
Overrides
clearConnections()
public Instance.InstanceEndpoint.Builder clearConnections()
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
getConnections(int index)
public Instance.ConnectionDetail getConnections(int index)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getConnectionsBuilder(int index)
public Instance.ConnectionDetail.Builder getConnectionsBuilder(int index)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getConnectionsBuilderList()
public List<Instance.ConnectionDetail.Builder> getConnectionsBuilderList()
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
getConnectionsCount()
public int getConnectionsCount()
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
getConnectionsList()
public List<Instance.ConnectionDetail> getConnectionsList()
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
getConnectionsOrBuilder(int index)
public Instance.ConnectionDetailOrBuilder getConnectionsOrBuilder(int index)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
getConnectionsOrBuilderList()
public List<? extends Instance.ConnectionDetailOrBuilder> getConnectionsOrBuilderList()
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.memorystore.v1beta.Instance.ConnectionDetailOrBuilder> |
|
getDefaultInstanceForType()
public Instance.InstanceEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.InstanceEndpoint other)
public Instance.InstanceEndpoint.Builder mergeFrom(Instance.InstanceEndpoint other)
public Instance.InstanceEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.InstanceEndpoint.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeConnections(int index)
public Instance.InstanceEndpoint.Builder removeConnections(int index)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
setConnections(int index, Instance.ConnectionDetail value)
public Instance.InstanceEndpoint.Builder setConnections(int index, Instance.ConnectionDetail value)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
setConnections(int index, Instance.ConnectionDetail.Builder builderForValue)
public Instance.InstanceEndpoint.Builder setConnections(int index, Instance.ConnectionDetail.Builder builderForValue)
Optional. A group of PSC connections. They are created in the same VPC
network, one for each service attachment in the cluster.
repeated .google.cloud.memorystore.v1beta.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];