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 |
---|
Type | Description |
int | |
LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
public static final int LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SELECTIVE_AUTHENTICATION_FIELD_NUMBER
public static final int SELECTIVE_AUTHENTICATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_DESCRIPTION_FIELD_NUMBER
public static final int STATE_DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
public static final int TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_DOMAIN_NAME_FIELD_NUMBER
public static final int TARGET_DOMAIN_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRUST_DIRECTION_FIELD_NUMBER
public static final int TRUST_DIRECTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
public static final int TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TRUST_TYPE_FIELD_NUMBER
public static final int TRUST_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Trust getDefaultInstance()
Returns |
---|
Type | Description |
Trust | |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Trust.Builder newBuilder()
newBuilder(Trust prototype)
public static Trust.Builder newBuilder(Trust prototype)
Parameter |
---|
Name | Description |
prototype | Trust
|
public static Trust parseDelimitedFrom(InputStream input)
Returns |
---|
Type | Description |
Trust | |
public static Trust parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Trust | |
parseFrom(byte[] data)
public static Trust parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
Returns |
---|
Type | Description |
Trust | |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Trust parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Trust | |
parseFrom(ByteString data)
public static Trust parseFrom(ByteString data)
Returns |
---|
Type | Description |
Trust | |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Trust parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Trust | |
public static Trust parseFrom(CodedInputStream input)
Returns |
---|
Type | Description |
Trust | |
public static Trust parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Trust | |
public static Trust parseFrom(InputStream input)
Returns |
---|
Type | Description |
Trust | |
public static Trust parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Trust | |
parseFrom(ByteBuffer data)
public static Trust parseFrom(ByteBuffer data)
Returns |
---|
Type | Description |
Trust | |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Trust parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
---|
Type | Description |
Trust | |
parser()
public static Parser<Trust> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Type | Description |
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];
getDefaultInstanceForType()
public Trust getDefaultInstanceForType()
Returns |
---|
Type | Description |
Trust | |
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];
getParserForType()
public Parser<Trust> getParserForType()
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 |
---|
Type | Description |
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];
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];
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];
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];
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()
Overrides
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
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];
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Trust.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Trust.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Trust.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides