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
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
public static final int LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
Field Value
SELECTIVE_AUTHENTICATION_FIELD_NUMBER
public static final int SELECTIVE_AUTHENTICATION_FIELD_NUMBER
Field Value
STATE_DESCRIPTION_FIELD_NUMBER
public static final int STATE_DESCRIPTION_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
public static final int TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
Field Value
TARGET_DOMAIN_NAME_FIELD_NUMBER
public static final int TARGET_DOMAIN_NAME_FIELD_NUMBER
Field Value
TRUST_DIRECTION_FIELD_NUMBER
public static final int TRUST_DIRECTION_FIELD_NUMBER
Field Value
TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
public static final int TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
Field Value
TRUST_TYPE_FIELD_NUMBER
public static final int TRUST_TYPE_FIELD_NUMBER
Field Value
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Trust getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Trust.Builder newBuilder()
Returns
newBuilder(Trust prototype)
public static Trust.Builder newBuilder(Trust prototype)
Parameter
Name | Description |
prototype | Trust
|
Returns
public static Trust parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Trust parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Trust parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Trust parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Trust parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Trust parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trust parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Trust parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Trust parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Trust parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Trust parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Trust parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Trust> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public Trust getDefaultInstanceForType()
Returns
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
Type | Description |
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
getParserForType()
public Parser<Trust> getParserForType()
Returns
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
Type | Description |
boolean | The selectiveAuthentication.
|
getSerializedSize()
public int getSerializedSize()
Returns
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
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
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
Type | Description |
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
Type | Description |
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
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
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
Type | Description |
int | The enum numeric value on the wire for trustType.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
Type | Description |
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
Type | Description |
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
Type | Description |
boolean | Whether the updateTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Trust.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Trust.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Trust.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions