public final class Trust extends com.google.protobuf.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| Modifier and Type | Class and Description |
|---|---|
static class |
Trust.Builder
Represents a relationship between two domains.
|
static class |
Trust.State
Represents the different states of a domain trust.
|
static class |
Trust.TrustDirection
Represents the direction of trust.
|
static class |
Trust.TrustType
Represents the different inter-forest trust types.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER |
static int |
SELECTIVE_AUTHENTICATION_FIELD_NUMBER |
static int |
STATE_DESCRIPTION_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER |
static int |
TARGET_DOMAIN_NAME_FIELD_NUMBER |
static int |
TRUST_DIRECTION_FIELD_NUMBER |
static int |
TRUST_HANDSHAKE_SECRET_FIELD_NUMBER |
static int |
TRUST_TYPE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Trust |
getDefaultInstance() |
Trust |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getLastTrustHeartbeatTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getLastTrustHeartbeatTimeOrBuilder()
Output only.
|
com.google.protobuf.Parser<Trust> |
getParserForType() |
boolean |
getSelectiveAuthentication()
Optional.
|
int |
getSerializedSize() |
Trust.State |
getState()
Output only.
|
String |
getStateDescription()
Output only.
|
com.google.protobuf.ByteString |
getStateDescriptionBytes()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getTargetDnsIpAddresses(int index)
Required.
|
com.google.protobuf.ByteString |
getTargetDnsIpAddressesBytes(int index)
Required.
|
int |
getTargetDnsIpAddressesCount()
Required.
|
com.google.protobuf.ProtocolStringList |
getTargetDnsIpAddressesList()
Required.
|
String |
getTargetDomainName()
Required.
|
com.google.protobuf.ByteString |
getTargetDomainNameBytes()
Required.
|
Trust.TrustDirection |
getTrustDirection()
Required.
|
int |
getTrustDirectionValue()
Required.
|
String |
getTrustHandshakeSecret()
Required.
|
com.google.protobuf.ByteString |
getTrustHandshakeSecretBytes()
Required.
|
Trust.TrustType |
getTrustType()
Required.
|
int |
getTrustTypeValue()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasLastTrustHeartbeatTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Trust.Builder |
newBuilder() |
static Trust.Builder |
newBuilder(Trust prototype) |
Trust.Builder |
newBuilderForType() |
protected Trust.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Trust |
parseDelimitedFrom(InputStream input) |
static Trust |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trust |
parseFrom(byte[] data) |
static Trust |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trust |
parseFrom(ByteBuffer data) |
static Trust |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trust |
parseFrom(com.google.protobuf.ByteString data) |
static Trust |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trust |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Trust |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Trust |
parseFrom(InputStream input) |
static Trust |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Trust> |
parser() |
Trust.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TARGET_DOMAIN_NAME_FIELD_NUMBER
public static final int TRUST_TYPE_FIELD_NUMBER
public static final int TRUST_DIRECTION_FIELD_NUMBER
public static final int SELECTIVE_AUTHENTICATION_FIELD_NUMBER
public static final int TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
public static final int TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STATE_DESCRIPTION_FIELD_NUMBER
public static final int LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getTargetDomainName in interface TrustOrBuilderpublic com.google.protobuf.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];getTargetDomainNameBytes in interface TrustOrBuilderpublic 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];
getTrustTypeValue in interface TrustOrBuilderpublic 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];
getTrustType in interface TrustOrBuilderpublic 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];
getTrustDirectionValue in interface TrustOrBuilderpublic 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];
getTrustDirection in interface TrustOrBuilderpublic 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];getSelectiveAuthentication in interface TrustOrBuilderpublic com.google.protobuf.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];
getTargetDnsIpAddressesList in interface TrustOrBuilderpublic 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];
getTargetDnsIpAddressesCount in interface TrustOrBuilderpublic 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];
getTargetDnsIpAddresses in interface TrustOrBuilderindex - The index of the element to return.public com.google.protobuf.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];
getTargetDnsIpAddressesBytes in interface TrustOrBuilderindex - The index of the value to return.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];getTrustHandshakeSecret in interface TrustOrBuilderpublic com.google.protobuf.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];getTrustHandshakeSecretBytes in interface TrustOrBuilderpublic boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface TrustOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface TrustOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface TrustOrBuilderpublic boolean hasUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface TrustOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface TrustOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface TrustOrBuilderpublic int getStateValue()
Output only. The current state of the trust.
.google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface TrustOrBuilderpublic 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];
getState in interface TrustOrBuilderpublic 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];getStateDescription in interface TrustOrBuilderpublic com.google.protobuf.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];getStateDescriptionBytes in interface TrustOrBuilderpublic 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];
hasLastTrustHeartbeatTime in interface TrustOrBuilderpublic com.google.protobuf.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];
getLastTrustHeartbeatTime in interface TrustOrBuilderpublic com.google.protobuf.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];
getLastTrustHeartbeatTimeOrBuilder in interface TrustOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Trust parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trust parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trust parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trust parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trust parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trust parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Trust parseFrom(InputStream input) throws IOException
IOExceptionpublic static Trust parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Trust parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Trust parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Trust parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Trust parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Trust.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Trust.Builder newBuilder()
public static Trust.Builder newBuilder(Trust prototype)
public Trust.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Trust.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Trust getDefaultInstance()
public static com.google.protobuf.Parser<Trust> parser()
public com.google.protobuf.Parser<Trust> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Trust getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.