public static final class ConnectionInfo.Builder extends GeneratedMessageV3.Builder<ConnectionInfo.Builder> implements ConnectionInfoOrBuilder
ConnectionInfo singleton resource. https://google.aip.dev/156
Protobuf type google.cloud.alloydb.v1beta.ConnectionInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ConnectionInfo.BuilderImplements
ConnectionInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllPemCertificateChain(Iterable<String> values)
public ConnectionInfo.Builder addAllPemCertificateChain(Iterable<String> values)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
values |
Iterable<String> The pemCertificateChain to add. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
addPemCertificateChain(String value)
public ConnectionInfo.Builder addPemCertificateChain(String value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
String The pemCertificateChain to add. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
addPemCertificateChainBytes(ByteString value)
public ConnectionInfo.Builder addPemCertificateChainBytes(ByteString value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ByteString The bytes of the pemCertificateChain to add. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ConnectionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ConnectionInfo.Builder |
build()
public ConnectionInfo build()
Type | Description |
ConnectionInfo |
buildPartial()
public ConnectionInfo buildPartial()
Type | Description |
ConnectionInfo |
clear()
public ConnectionInfo.Builder clear()
Type | Description |
ConnectionInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public ConnectionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
ConnectionInfo.Builder |
clearInstanceUid()
public ConnectionInfo.Builder clearInstanceUid()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
clearIpAddress()
public ConnectionInfo.Builder clearIpAddress()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
clearName()
public ConnectionInfo.Builder clearName()
The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.
string name = 1;
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ConnectionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
ConnectionInfo.Builder |
clearPemCertificateChain()
public ConnectionInfo.Builder clearPemCertificateChain()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
clone()
public ConnectionInfo.Builder clone()
Type | Description |
ConnectionInfo.Builder |
getDefaultInstanceForType()
public ConnectionInfo getDefaultInstanceForType()
Type | Description |
ConnectionInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getInstanceUid()
public String getInstanceUid()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String |
The instanceUid. |
getInstanceUidBytes()
public ByteString getInstanceUidBytes()
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString |
The bytes for instanceUid. |
getIpAddress()
public String getIpAddress()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String |
The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString |
The bytes for ipAddress. |
getName()
public String getName()
The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.
string name = 1;
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.
string name = 1;
Type | Description |
ByteString |
The bytes for name. |
getPemCertificateChain(int index)
public String getPemCertificateChain(int index)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index of the element to return. |
Type | Description |
String |
The pemCertificateChain at the given index. |
getPemCertificateChainBytes(int index)
public ByteString getPemCertificateChainBytes(int index)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index of the value to return. |
Type | Description |
ByteString |
The bytes of the pemCertificateChain at the given index. |
getPemCertificateChainCount()
public int getPemCertificateChainCount()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
The count of pemCertificateChain. |
getPemCertificateChainList()
public ProtocolStringList getPemCertificateChainList()
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ProtocolStringList |
A list containing the pemCertificateChain. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ConnectionInfo other)
public ConnectionInfo.Builder mergeFrom(ConnectionInfo other)
Name | Description |
other |
ConnectionInfo |
Type | Description |
ConnectionInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ConnectionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
ConnectionInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ConnectionInfo.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
ConnectionInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ConnectionInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ConnectionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
ConnectionInfo.Builder |
setInstanceUid(String value)
public ConnectionInfo.Builder setInstanceUid(String value)
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
String The instanceUid to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setInstanceUidBytes(ByteString value)
public ConnectionInfo.Builder setInstanceUidBytes(ByteString value)
Output only. The unique ID of the Instance.
string instance_uid = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ByteString The bytes for instanceUid to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setIpAddress(String value)
public ConnectionInfo.Builder setIpAddress(String value)
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
String The ipAddress to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setIpAddressBytes(ByteString value)
public ConnectionInfo.Builder setIpAddressBytes(ByteString value)
Output only. The IP address for the Instance. This is the connection endpoint for an end-user application.
string ip_address = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value |
ByteString The bytes for ipAddress to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setName(String value)
public ConnectionInfo.Builder setName(String value)
The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.
string name = 1;
Name | Description |
value |
String The name to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ConnectionInfo.Builder setNameBytes(ByteString value)
The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo This field currently has no semantic meaning.
string name = 1;
Name | Description |
value |
ByteString The bytes for name to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setPemCertificateChain(int index, String value)
public ConnectionInfo.Builder setPemCertificateChain(int index, String value)
Output only. The pem-encoded chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
repeated string pem_certificate_chain = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index |
int The index to set the value at. |
value |
String The pemCertificateChain to set. |
Type | Description |
ConnectionInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ConnectionInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
ConnectionInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ConnectionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
ConnectionInfo.Builder |