Class Trust (0.3.7)

public final class Trust extends GeneratedMessageV3 implements TrustOrBuilder

Represents a relationship between two domains. This allows a controller in one domain to authenticate a user in another domain.

Protobuf type google.cloud.managedidentities.v1.Trust

Implements

TrustOrBuilder

Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER

public static final int LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

SELECTIVE_AUTHENTICATION_FIELD_NUMBER

public static final int SELECTIVE_AUTHENTICATION_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_DESCRIPTION_FIELD_NUMBER

public static final int STATE_DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER

public static final int TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_DOMAIN_NAME_FIELD_NUMBER

public static final int TARGET_DOMAIN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TRUST_DIRECTION_FIELD_NUMBER

public static final int TRUST_DIRECTION_FIELD_NUMBER
Field Value
TypeDescription
int

TRUST_HANDSHAKE_SECRET_FIELD_NUMBER

public static final int TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
Field Value
TypeDescription
int

TRUST_TYPE_FIELD_NUMBER

public static final int TRUST_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCreateTime()

public 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 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

getDefaultInstance()

public static Trust getDefaultInstance()
Returns
TypeDescription
Trust

getDefaultInstanceForType()

public Trust getDefaultInstanceForType()
Returns
TypeDescription
Trust

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getLastTrustHeartbeatTime()

public 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 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

getParserForType()

public Parser<Trust> getParserForType()
Returns
TypeDescription
Parser<Trust>
Overrides

getSelectiveAuthentication()

public 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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public 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 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 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 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 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 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 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 ProtocolStringList 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
ProtocolStringList

A list containing the targetDnsIpAddresses.

getTargetDomainName()

public 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 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 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 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 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 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 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 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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUpdateTime()

public 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 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 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 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 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static Trust.Builder newBuilder()
Returns
TypeDescription
Trust.Builder

newBuilder(Trust prototype)

public static Trust.Builder newBuilder(Trust prototype)
Parameter
NameDescription
prototypeTrust
Returns
TypeDescription
Trust.Builder

newBuilderForType()

public Trust.Builder newBuilderForType()
Returns
TypeDescription
Trust.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Trust.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Trust.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static Trust parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Trust
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Trust parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Trust parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Trust
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Trust parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Trust parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Trust
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Trust parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Trust parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Trust
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Trust parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Trust parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Trust
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Trust parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Trust parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Trust
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Trust parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Trust> parser()
Returns
TypeDescription
Parser<Trust>

toBuilder()

public Trust.Builder toBuilder()
Returns
TypeDescription
Trust.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException