Interface TrustOrBuilder (1.21.0)

public interface TrustOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time the instance was created.

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

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the instance was created.

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

Returns
TypeDescription
TimestampOrBuilder

getLastTrustHeartbeatTime()

public abstract Timestamp getLastTrustHeartbeatTime()

Output only. The last heartbeat time when the trust was known to be connected.

.google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The lastTrustHeartbeatTime.

getLastTrustHeartbeatTimeOrBuilder()

public abstract TimestampOrBuilder getLastTrustHeartbeatTimeOrBuilder()

Output only. The last heartbeat time when the trust was known to be connected.

.google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getSelectiveAuthentication()

public abstract boolean getSelectiveAuthentication()

Optional. The trust authentication type, which decides whether the trusted side has forest/domain wide access or selective access to an approved set of resources.

bool selective_authentication = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The selectiveAuthentication.

getState()

public abstract Trust.State getState()

Output only. The current state of the trust.

.google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Trust.State

The state.

getStateDescription()

public abstract String getStateDescription()

Output only. Additional information about the current state of the trust, if available.

string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The stateDescription.

getStateDescriptionBytes()

public abstract ByteString getStateDescriptionBytes()

Output only. Additional information about the current state of the trust, if available.

string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for stateDescription.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the trust.

.google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTargetDnsIpAddresses(int index)

public abstract String getTargetDnsIpAddresses(int index)

Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust.

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

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The targetDnsIpAddresses at the given index.

getTargetDnsIpAddressesBytes(int index)

public abstract ByteString getTargetDnsIpAddressesBytes(int index)

Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust.

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

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the targetDnsIpAddresses at the given index.

getTargetDnsIpAddressesCount()

public abstract int getTargetDnsIpAddressesCount()

Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust.

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

Returns
TypeDescription
int

The count of targetDnsIpAddresses.

getTargetDnsIpAddressesList()

public abstract List<String> getTargetDnsIpAddressesList()

Required. The target DNS server IP addresses which can resolve the remote domain involved in the trust.

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

Returns
TypeDescription
List<String>

A list containing the targetDnsIpAddresses.

getTargetDomainName()

public abstract String getTargetDomainName()

Required. The fully qualified target domain name which will be in trust with the current domain.

string target_domain_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The targetDomainName.

getTargetDomainNameBytes()

public abstract ByteString getTargetDomainNameBytes()

Required. The fully qualified target domain name which will be in trust with the current domain.

string target_domain_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for targetDomainName.

getTrustDirection()

public abstract Trust.TrustDirection getTrustDirection()

Required. The trust direction, which decides if the current domain is trusted, trusting, or both.

.google.cloud.managedidentities.v1.Trust.TrustDirection trust_direction = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Trust.TrustDirection

The trustDirection.

getTrustDirectionValue()

public abstract int getTrustDirectionValue()

Required. The trust direction, which decides if the current domain is trusted, trusting, or both.

.google.cloud.managedidentities.v1.Trust.TrustDirection trust_direction = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for trustDirection.

getTrustHandshakeSecret()

public abstract String getTrustHandshakeSecret()

Required. The trust secret used for the handshake with the target domain. This will not be stored.

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

Returns
TypeDescription
String

The trustHandshakeSecret.

getTrustHandshakeSecretBytes()

public abstract ByteString getTrustHandshakeSecretBytes()

Required. The trust secret used for the handshake with the target domain. This will not be stored.

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

Returns
TypeDescription
ByteString

The bytes for trustHandshakeSecret.

getTrustType()

public abstract Trust.TrustType getTrustType()

Required. The type of trust represented by the trust resource.

.google.cloud.managedidentities.v1.Trust.TrustType trust_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Trust.TrustType

The trustType.

getTrustTypeValue()

public abstract int getTrustTypeValue()

Required. The type of trust represented by the trust resource.

.google.cloud.managedidentities.v1.Trust.TrustType trust_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for trustType.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last update time.

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

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update time.

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

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time the instance was created.

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

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasLastTrustHeartbeatTime()

public abstract boolean hasLastTrustHeartbeatTime()

Output only. The last heartbeat time when the trust was known to be connected.

.google.protobuf.Timestamp last_trust_heartbeat_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the lastTrustHeartbeatTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last update time.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.