Class AgentGateway.AgentGatewayOutputCard.Builder (0.50.0)

public static final class AgentGateway.AgentGatewayOutputCard.Builder extends GeneratedMessage.Builder<AgentGateway.AgentGatewayOutputCard.Builder> implements AgentGateway.AgentGatewayOutputCardOrBuilder

AgentGatewayOutputCard contains informational output-only fields

Protobuf type google.cloud.networkservices.v1.AgentGateway.AgentGatewayOutputCard

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllRootCertificates(Iterable<String> values)

public AgentGateway.AgentGatewayOutputCard.Builder addAllRootCertificates(Iterable<String> values)

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The rootCertificates to add.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

addRootCertificates(String value)

public AgentGateway.AgentGatewayOutputCard.Builder addRootCertificates(String value)

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The rootCertificates to add.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

addRootCertificatesBytes(ByteString value)

public AgentGateway.AgentGatewayOutputCard.Builder addRootCertificatesBytes(ByteString value)

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the rootCertificates to add.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

build()

public AgentGateway.AgentGatewayOutputCard build()
Returns
Type Description
AgentGateway.AgentGatewayOutputCard

buildPartial()

public AgentGateway.AgentGatewayOutputCard buildPartial()
Returns
Type Description
AgentGateway.AgentGatewayOutputCard

clear()

public AgentGateway.AgentGatewayOutputCard.Builder clear()
Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder
Overrides

clearMtlsEndpoint()

public AgentGateway.AgentGatewayOutputCard.Builder clearMtlsEndpoint()

Output only. mTLS Endpoint associated with this AgentGateway

string mtls_endpoint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

clearRootCertificates()

public AgentGateway.AgentGatewayOutputCard.Builder clearRootCertificates()

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

clearServiceExtensionsServiceAccount()

public AgentGateway.AgentGatewayOutputCard.Builder clearServiceExtensionsServiceAccount()

Output only. Service Account used by Service Extensions to operate.

string service_extensions_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

getDefaultInstanceForType()

public AgentGateway.AgentGatewayOutputCard getDefaultInstanceForType()
Returns
Type Description
AgentGateway.AgentGatewayOutputCard

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMtlsEndpoint()

public String getMtlsEndpoint()

Output only. mTLS Endpoint associated with this AgentGateway

string mtls_endpoint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The mtlsEndpoint.

getMtlsEndpointBytes()

public ByteString getMtlsEndpointBytes()

Output only. mTLS Endpoint associated with this AgentGateway

string mtls_endpoint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for mtlsEndpoint.

getRootCertificates(int index)

public String getRootCertificates(int index)

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The rootCertificates at the given index.

getRootCertificatesBytes(int index)

public ByteString getRootCertificatesBytes(int index)

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the rootCertificates at the given index.

getRootCertificatesCount()

public int getRootCertificatesCount()

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of rootCertificates.

getRootCertificatesList()

public ProtocolStringList getRootCertificatesList()

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the rootCertificates.

getServiceExtensionsServiceAccount()

public String getServiceExtensionsServiceAccount()

Output only. Service Account used by Service Extensions to operate.

string service_extensions_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceExtensionsServiceAccount.

getServiceExtensionsServiceAccountBytes()

public ByteString getServiceExtensionsServiceAccountBytes()

Output only. Service Account used by Service Extensions to operate.

string service_extensions_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceExtensionsServiceAccount.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AgentGateway.AgentGatewayOutputCard other)

public AgentGateway.AgentGatewayOutputCard.Builder mergeFrom(AgentGateway.AgentGatewayOutputCard other)
Parameter
Name Description
other AgentGateway.AgentGatewayOutputCard
Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AgentGateway.AgentGatewayOutputCard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AgentGateway.AgentGatewayOutputCard.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder
Overrides

setMtlsEndpoint(String value)

public AgentGateway.AgentGatewayOutputCard.Builder setMtlsEndpoint(String value)

Output only. mTLS Endpoint associated with this AgentGateway

string mtls_endpoint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The mtlsEndpoint to set.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

setMtlsEndpointBytes(ByteString value)

public AgentGateway.AgentGatewayOutputCard.Builder setMtlsEndpointBytes(ByteString value)

Output only. mTLS Endpoint associated with this AgentGateway

string mtls_endpoint = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for mtlsEndpoint to set.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

setRootCertificates(int index, String value)

public AgentGateway.AgentGatewayOutputCard.Builder setRootCertificates(int index, String value)

Output only. Root Certificates for Agents to validate this AgentGateway

repeated string root_certificates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The rootCertificates to set.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

setServiceExtensionsServiceAccount(String value)

public AgentGateway.AgentGatewayOutputCard.Builder setServiceExtensionsServiceAccount(String value)

Output only. Service Account used by Service Extensions to operate.

string service_extensions_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The serviceExtensionsServiceAccount to set.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.

setServiceExtensionsServiceAccountBytes(ByteString value)

public AgentGateway.AgentGatewayOutputCard.Builder setServiceExtensionsServiceAccountBytes(ByteString value)

Output only. Service Account used by Service Extensions to operate.

string service_extensions_service_account = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for serviceExtensionsServiceAccount to set.

Returns
Type Description
AgentGateway.AgentGatewayOutputCard.Builder

This builder for chaining.