public static final class AgentGateway.NetworkConfig.Egress.TrustConfig.Builder extends GeneratedMessage.Builder<AgentGateway.NetworkConfig.Egress.TrustConfig.Builder> implements AgentGateway.NetworkConfig.Egress.TrustConfigOrBuilderTrustConfig defines the trust configuration for egress.
Protobuf type
google.cloud.networkservices.v1.AgentGateway.NetworkConfig.Egress.TrustConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentGateway.NetworkConfig.Egress.TrustConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPemCertificates(Iterable<String> values)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder addAllPemCertificates(Iterable<String> values)Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The pemCertificates to add. |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
This builder for chaining. |
addPemCertificates(String value)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder addPemCertificates(String value)Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pemCertificates to add. |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
This builder for chaining. |
addPemCertificatesBytes(ByteString value)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder addPemCertificatesBytes(ByteString value)Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the pemCertificates to add. |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
This builder for chaining. |
build()
public AgentGateway.NetworkConfig.Egress.TrustConfig build()| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig |
|
buildPartial()
public AgentGateway.NetworkConfig.Egress.TrustConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig |
|
clear()
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
|
clearPemCertificates()
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder clearPemCertificates()Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AgentGateway.NetworkConfig.Egress.TrustConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPemCertificates(int index)
public String getPemCertificates(int index)Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The pemCertificates at the given index. |
getPemCertificatesBytes(int index)
public ByteString getPemCertificatesBytes(int index)Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the pemCertificates at the given index. |
getPemCertificatesCount()
public int getPemCertificatesCount()Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of pemCertificates. |
getPemCertificatesList()
public ProtocolStringList getPemCertificatesList()Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the pemCertificates. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AgentGateway.NetworkConfig.Egress.TrustConfig other)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder mergeFrom(AgentGateway.NetworkConfig.Egress.TrustConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AgentGateway.NetworkConfig.Egress.TrustConfig |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
|
setPemCertificates(int index, String value)
public AgentGateway.NetworkConfig.Egress.TrustConfig.Builder setPemCertificates(int index, String value)Required. PEM encoded root certificates used to validate the identity of the upstream servers/destinations during egress connections.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe pemCertificates to set. |
| Returns | |
|---|---|
| Type | Description |
AgentGateway.NetworkConfig.Egress.TrustConfig.Builder |
This builder for chaining. |