Interface SACAttachmentOrBuilder (0.96.0)

public interface SACAttachmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Optional. Optional list of labels applied to the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp when the attachment was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when the attachment was created.

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

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Optional. Optional list of labels applied to the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Optional. Optional list of labels applied to the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Optional. Optional list of labels applied to the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Optional. Optional list of labels applied to the resource.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. Resource name, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Resource name, in the form projects/{project}/locations/{location}/sacAttachments/{sac_attachment}.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNccGateway()

public abstract String getNccGateway()

Required. NCC Gateway associated with the attachment. This can be input as an ID or a full resource name. The output always has the form projects/{project_number}/locations/{location}/spokes/{ncc_gateway}.

string ncc_gateway = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The nccGateway.

getNccGatewayBytes()

public abstract ByteString getNccGatewayBytes()

Required. NCC Gateway associated with the attachment. This can be input as an ID or a full resource name. The output always has the form projects/{project_number}/locations/{location}/spokes/{ncc_gateway}.

string ncc_gateway = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for nccGateway.

getSacRealm()

public abstract String getSacRealm()

Required. SAC Realm which owns the attachment. This can be input as an ID or a full resource name. The output always has the form projects/{project_number}/locations/{location}/sacRealms/{sac_realm}.

string sac_realm = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sacRealm.

getSacRealmBytes()

public abstract ByteString getSacRealmBytes()

Required. SAC Realm which owns the attachment. This can be input as an ID or a full resource name. The output always has the form projects/{project_number}/locations/{location}/sacRealms/{sac_realm}.

string sac_realm = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sacRealm.

getState()

public abstract SACAttachment.State getState()

Output only. State of the attachment.

.google.cloud.networksecurity.v1.SACAttachment.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SACAttachment.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the attachment.

.google.cloud.networksecurity.v1.SACAttachment.State state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Timestamp when the attachment was last updated.

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

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when the attachment was last updated.

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

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp when the attachment was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Timestamp when the attachment was last updated.

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

Returns
Type Description
boolean

Whether the updateTime field is set.