public static final class Instance.InstanceEndpoint.Builder extends GeneratedMessageV3.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.v1.Instance.InstanceEndpoint
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.memorystore.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public Instance.InstanceEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.InstanceEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.InstanceEndpoint.Builder clone()
Overrides
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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.memorystore.v1.Instance.ConnectionDetailOrBuilder> |
|
getDefaultInstanceForType()
public Instance.InstanceEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1.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.v1.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.v1.Instance.ConnectionDetail connections = 1 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.InstanceEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.InstanceEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.InstanceEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides