public static final class DiscoveryEndpoint.Builder extends GeneratedMessageV3.Builder<DiscoveryEndpoint.Builder> implements DiscoveryEndpointOrBuilder
Endpoints on each network, for Redis clients to connect to the cluster.
Protobuf type google.cloud.redis.cluster.v1beta1.DiscoveryEndpoint
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DiscoveryEndpoint build()
buildPartial()
public DiscoveryEndpoint buildPartial()
clear()
public DiscoveryEndpoint.Builder clear()
Overrides
clearAddress()
public DiscoveryEndpoint.Builder clearAddress()
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public DiscoveryEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DiscoveryEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPort()
public DiscoveryEndpoint.Builder clearPort()
Output only. The port number of the exposed Redis endpoint.
int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearPscConfig()
public DiscoveryEndpoint.Builder clearPscConfig()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public DiscoveryEndpoint.Builder clone()
Overrides
getAddress()
public String getAddress()
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The address.
|
getAddressBytes()
public ByteString getAddressBytes()
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for address.
|
getDefaultInstanceForType()
public DiscoveryEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPort()
Output only. The port number of the exposed Redis endpoint.
int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The port.
|
getPscConfig()
public PscConfig getPscConfig()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
PscConfig | The pscConfig.
|
getPscConfigBuilder()
public PscConfig.Builder getPscConfigBuilder()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPscConfigOrBuilder()
public PscConfigOrBuilder getPscConfigOrBuilder()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPscConfig()
public boolean hasPscConfig()
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the pscConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DiscoveryEndpoint other)
public DiscoveryEndpoint.Builder mergeFrom(DiscoveryEndpoint other)
public DiscoveryEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DiscoveryEndpoint.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePscConfig(PscConfig value)
public DiscoveryEndpoint.Builder mergePscConfig(PscConfig value)
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAddress(String value)
public DiscoveryEndpoint.Builder setAddress(String value)
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The address to set.
|
setAddressBytes(ByteString value)
public DiscoveryEndpoint.Builder setAddressBytes(ByteString value)
Output only. Address of the exposed Redis endpoint used by clients to
connect to the service. The address could be either IP or hostname.
string address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for address to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DiscoveryEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPort(int value)
public DiscoveryEndpoint.Builder setPort(int value)
Output only. The port number of the exposed Redis endpoint.
int32 port = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | int
The port to set.
|
setPscConfig(PscConfig value)
public DiscoveryEndpoint.Builder setPscConfig(PscConfig value)
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setPscConfig(PscConfig.Builder builderForValue)
public DiscoveryEndpoint.Builder setPscConfig(PscConfig.Builder builderForValue)
Output only. Customer configuration for where the endpoint is created and
accessed from.
.google.cloud.redis.cluster.v1beta1.PscConfig psc_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DiscoveryEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DiscoveryEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides