Interface TrustConfigOrBuilder (0.44.0)

public interface TrustConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Set of labels associated with a TrustConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation timestamp of a TrustConfig.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a TrustConfig.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

One or more paragraphs of text description of a TrustConfig.

string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

One or more paragraphs of text description of a TrustConfig.

string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getEtag()

public abstract String getEtag()

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 6;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

string etag = 6;

Returns
TypeDescription
ByteString

The bytes for etag.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Set of labels associated with a TrustConfig.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Set of labels associated with a TrustConfig.

map<string, string> labels = 4;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Set of labels associated with a TrustConfig.

map<string, string> labels = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Set of labels associated with a TrustConfig.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract String getName()

A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern projects/*/locations/*/trustConfigs/*.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getTrustStores(int index)

public abstract TrustConfig.TrustStore getTrustStores(int index)

Set of trust stores to perform validation against.

This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.

Only one TrustStore specified is currently allowed.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
TrustConfig.TrustStore

getTrustStoresCount()

public abstract int getTrustStoresCount()

Set of trust stores to perform validation against.

This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.

Only one TrustStore specified is currently allowed.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8;

Returns
TypeDescription
int

getTrustStoresList()

public abstract List<TrustConfig.TrustStore> getTrustStoresList()

Set of trust stores to perform validation against.

This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.

Only one TrustStore specified is currently allowed.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8;

Returns
TypeDescription
List<TrustStore>

getTrustStoresOrBuilder(int index)

public abstract TrustConfig.TrustStoreOrBuilder getTrustStoresOrBuilder(int index)

Set of trust stores to perform validation against.

This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.

Only one TrustStore specified is currently allowed.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
TrustConfig.TrustStoreOrBuilder

getTrustStoresOrBuilderList()

public abstract List<? extends TrustConfig.TrustStoreOrBuilder> getTrustStoresOrBuilderList()

Set of trust stores to perform validation against.

This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation.

Only one TrustStore specified is currently allowed.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustStore trust_stores = 8;

Returns
TypeDescription
List<? extends com.google.cloud.certificatemanager.v1.TrustConfig.TrustStoreOrBuilder>

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last update timestamp of a TrustConfig.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp of a TrustConfig.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation timestamp of a TrustConfig.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last update timestamp of a TrustConfig.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.