Class Trust
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.managedidentities.v1.Trust
- All Implemented Interfaces:
TrustOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Trust
extends com.google.protobuf.GeneratedMessage
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents a relationship between two domains.static enumRepresents the different states of a domain trust.static enumRepresents the direction of trust.static enumRepresents the different inter-forest trust types.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static Truststatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.Parser<Trust>booleanOptional.intgetState()Output only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.getTargetDnsIpAddresses(int index) Required.com.google.protobuf.ByteStringgetTargetDnsIpAddressesBytes(int index) Required.intRequired.com.google.protobuf.ProtocolStringListRequired.Required.com.google.protobuf.ByteStringRequired.Required.intRequired.Required.com.google.protobuf.ByteStringRequired.Required.intRequired.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.inthashCode()booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Trust.Builderstatic Trust.BuildernewBuilder(Trust prototype) protected Trust.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static TrustparseDelimitedFrom(InputStream input) static TrustparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrustparseFrom(byte[] data) static TrustparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrustparseFrom(com.google.protobuf.ByteString data) static TrustparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrustparseFrom(com.google.protobuf.CodedInputStream input) static TrustparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrustparseFrom(InputStream input) static TrustparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static TrustparseFrom(ByteBuffer data) static TrustparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Trust>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TARGET_DOMAIN_NAME_FIELD_NUMBER
public static final int TARGET_DOMAIN_NAME_FIELD_NUMBER- See Also:
-
TRUST_TYPE_FIELD_NUMBER
public static final int TRUST_TYPE_FIELD_NUMBER- See Also:
-
TRUST_DIRECTION_FIELD_NUMBER
public static final int TRUST_DIRECTION_FIELD_NUMBER- See Also:
-
SELECTIVE_AUTHENTICATION_FIELD_NUMBER
public static final int SELECTIVE_AUTHENTICATION_FIELD_NUMBER- See Also:
-
TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER
public static final int TARGET_DNS_IP_ADDRESSES_FIELD_NUMBER- See Also:
-
TRUST_HANDSHAKE_SECRET_FIELD_NUMBER
public static final int TRUST_HANDSHAKE_SECRET_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
STATE_DESCRIPTION_FIELD_NUMBER
public static final int STATE_DESCRIPTION_FIELD_NUMBER- See Also:
-
LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER
public static final int LAST_TRUST_HEARTBEAT_TIME_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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];- Specified by:
getTargetDomainNamein interfaceTrustOrBuilder- Returns:
- The targetDomainName.
-
getTargetDomainNameBytes
public 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];- Specified by:
getTargetDomainNameBytesin interfaceTrustOrBuilder- Returns:
- The bytes for targetDomainName.
-
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];- Specified by:
getTrustTypeValuein interfaceTrustOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getTrustTypein interfaceTrustOrBuilder- Returns:
- The trustType.
-
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];- Specified by:
getTrustDirectionValuein interfaceTrustOrBuilder- Returns:
- The enum numeric value on the wire for 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];- Specified by:
getTrustDirectionin interfaceTrustOrBuilder- Returns:
- The trustDirection.
-
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];- Specified by:
getSelectiveAuthenticationin interfaceTrustOrBuilder- Returns:
- The selectiveAuthentication.
-
getTargetDnsIpAddressesList
public 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];- Specified by:
getTargetDnsIpAddressesListin interfaceTrustOrBuilder- Returns:
- A list containing the targetDnsIpAddresses.
-
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];- Specified by:
getTargetDnsIpAddressesCountin interfaceTrustOrBuilder- Returns:
- The count of targetDnsIpAddresses.
-
getTargetDnsIpAddresses
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];- Specified by:
getTargetDnsIpAddressesin interfaceTrustOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetDnsIpAddresses at the given index.
-
getTargetDnsIpAddressesBytes
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];- Specified by:
getTargetDnsIpAddressesBytesin interfaceTrustOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetDnsIpAddresses at the given index.
-
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];- Specified by:
getTrustHandshakeSecretin interfaceTrustOrBuilder- Returns:
- The trustHandshakeSecret.
-
getTrustHandshakeSecretBytes
public 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];- Specified by:
getTrustHandshakeSecretBytesin interfaceTrustOrBuilder- Returns:
- The bytes for trustHandshakeSecret.
-
hasCreateTime
public boolean hasCreateTime()Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceTrustOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceTrustOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceTrustOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceTrustOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceTrustOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceTrustOrBuilder
-
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];- Specified by:
getStateValuein interfaceTrustOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
Output only. The current state of the trust.
.google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceTrustOrBuilder- Returns:
- The state.
-
getStateDescription
Output only. Additional information about the current state of the trust, if available.
string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateDescriptionin interfaceTrustOrBuilder- Returns:
- The stateDescription.
-
getStateDescriptionBytes
public 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];- Specified by:
getStateDescriptionBytesin interfaceTrustOrBuilder- Returns:
- The bytes for stateDescription.
-
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];- Specified by:
hasLastTrustHeartbeatTimein interfaceTrustOrBuilder- Returns:
- Whether the lastTrustHeartbeatTime field is set.
-
getLastTrustHeartbeatTime
public 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];- Specified by:
getLastTrustHeartbeatTimein interfaceTrustOrBuilder- Returns:
- The lastTrustHeartbeatTime.
-
getLastTrustHeartbeatTimeOrBuilder
public 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];- Specified by:
getLastTrustHeartbeatTimeOrBuilderin interfaceTrustOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Trust parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trust parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trust parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trust parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trust parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Trust parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Trust parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Trust parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Trust parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-