Class Trust.Builder

  • All Implemented Interfaces:
    TrustOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Trust

    public static final class Trust.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
    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
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • clear

        public Trust.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • getDefaultInstanceForType

        public Trust getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Trust build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Trust buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Trust.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • setField

        public Trust.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • clearField

        public Trust.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • clearOneof

        public Trust.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • setRepeatedField

        public Trust.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • addRepeatedField

        public Trust.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • mergeFrom

        public Trust.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Trust.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • mergeFrom

        public Trust.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Trust.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        getTargetDomainName in interface TrustOrBuilder
        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:
        getTargetDomainNameBytes in interface TrustOrBuilder
        Returns:
        The bytes for targetDomainName.
      • setTargetDomainName

        public Trust.Builder setTargetDomainName​(String value)
         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];
        Parameters:
        value - The targetDomainName to set.
        Returns:
        This builder for chaining.
      • clearTargetDomainName

        public Trust.Builder clearTargetDomainName()
         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:
        This builder for chaining.
      • setTargetDomainNameBytes

        public Trust.Builder setTargetDomainNameBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for targetDomainName to set.
        Returns:
        This builder for chaining.
      • 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:
        getTrustTypeValue in interface TrustOrBuilder
        Returns:
        The enum numeric value on the wire for trustType.
      • setTrustTypeValue

        public Trust.Builder setTrustTypeValue​(int value)
         Required. The type of trust represented by the trust resource.
         
        .google.cloud.managedidentities.v1.Trust.TrustType trust_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for trustType to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getTrustType in interface TrustOrBuilder
        Returns:
        The trustType.
      • setTrustType

        public Trust.Builder setTrustType​(Trust.TrustType value)
         Required. The type of trust represented by the trust resource.
         
        .google.cloud.managedidentities.v1.Trust.TrustType trust_type = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The trustType to set.
        Returns:
        This builder for chaining.
      • clearTrustType

        public Trust.Builder clearTrustType()
         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:
        This builder for chaining.
      • 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:
        getTrustDirectionValue in interface TrustOrBuilder
        Returns:
        The enum numeric value on the wire for trustDirection.
      • setTrustDirectionValue

        public Trust.Builder setTrustDirectionValue​(int value)
         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];
        Parameters:
        value - The enum numeric value on the wire for trustDirection to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getTrustDirection in interface TrustOrBuilder
        Returns:
        The trustDirection.
      • setTrustDirection

        public Trust.Builder setTrustDirection​(Trust.TrustDirection value)
         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];
        Parameters:
        value - The trustDirection to set.
        Returns:
        This builder for chaining.
      • clearTrustDirection

        public Trust.Builder clearTrustDirection()
         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:
        This builder for chaining.
      • 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:
        getSelectiveAuthentication in interface TrustOrBuilder
        Returns:
        The selectiveAuthentication.
      • setSelectiveAuthentication

        public Trust.Builder setSelectiveAuthentication​(boolean value)
         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];
        Parameters:
        value - The selectiveAuthentication to set.
        Returns:
        This builder for chaining.
      • clearSelectiveAuthentication

        public Trust.Builder clearSelectiveAuthentication()
         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:
        This builder for chaining.
      • 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:
        getTargetDnsIpAddressesList in interface TrustOrBuilder
        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:
        getTargetDnsIpAddressesCount in interface TrustOrBuilder
        Returns:
        The count of targetDnsIpAddresses.
      • getTargetDnsIpAddresses

        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];
        Specified by:
        getTargetDnsIpAddresses in interface TrustOrBuilder
        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:
        getTargetDnsIpAddressesBytes in interface TrustOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the targetDnsIpAddresses at the given index.
      • setTargetDnsIpAddresses

        public Trust.Builder setTargetDnsIpAddresses​(int index,
                                                     String value)
         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];
        Parameters:
        index - The index to set the value at.
        value - The targetDnsIpAddresses to set.
        Returns:
        This builder for chaining.
      • addTargetDnsIpAddresses

        public Trust.Builder addTargetDnsIpAddresses​(String value)
         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];
        Parameters:
        value - The targetDnsIpAddresses to add.
        Returns:
        This builder for chaining.
      • addAllTargetDnsIpAddresses

        public Trust.Builder addAllTargetDnsIpAddresses​(Iterable<String> values)
         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];
        Parameters:
        values - The targetDnsIpAddresses to add.
        Returns:
        This builder for chaining.
      • clearTargetDnsIpAddresses

        public Trust.Builder clearTargetDnsIpAddresses()
         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:
        This builder for chaining.
      • addTargetDnsIpAddressesBytes

        public Trust.Builder addTargetDnsIpAddressesBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes of the targetDnsIpAddresses to add.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getTrustHandshakeSecret in interface TrustOrBuilder
        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:
        getTrustHandshakeSecretBytes in interface TrustOrBuilder
        Returns:
        The bytes for trustHandshakeSecret.
      • setTrustHandshakeSecret

        public Trust.Builder setTrustHandshakeSecret​(String value)
         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];
        Parameters:
        value - The trustHandshakeSecret to set.
        Returns:
        This builder for chaining.
      • clearTrustHandshakeSecret

        public Trust.Builder clearTrustHandshakeSecret()
         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:
        This builder for chaining.
      • setTrustHandshakeSecretBytes

        public Trust.Builder setTrustHandshakeSecretBytes​(com.google.protobuf.ByteString value)
         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];
        Parameters:
        value - The bytes for trustHandshakeSecret to set.
        Returns:
        This builder for chaining.
      • 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:
        hasCreateTime in interface TrustOrBuilder
        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:
        getCreateTime in interface TrustOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Trust.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Trust.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Trust.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Trust.Builder clearCreateTime()
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. The time the instance was created.
         
        .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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:
        getCreateTimeOrBuilder in interface TrustOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. The last update time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface TrustOrBuilder
        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:
        getUpdateTime in interface TrustOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Trust.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last update time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Trust.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The last update time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Trust.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. The last update time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Trust.Builder clearUpdateTime()
         Output only. The last update time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. The last update time.
         
        .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • 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:
        getUpdateTimeOrBuilder in interface TrustOrBuilder
      • 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:
        getStateValue in interface TrustOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public Trust.Builder setStateValue​(int value)
         Output only. The current state of the trust.
         
        .google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getState in interface TrustOrBuilder
        Returns:
        The state.
      • setState

        public Trust.Builder setState​(Trust.State value)
         Output only. The current state of the trust.
         
        .google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public Trust.Builder clearState()
         Output only. The current state of the trust.
         
        .google.cloud.managedidentities.v1.Trust.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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];
        Specified by:
        getStateDescription in interface TrustOrBuilder
        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:
        getStateDescriptionBytes in interface TrustOrBuilder
        Returns:
        The bytes for stateDescription.
      • setStateDescription

        public Trust.Builder setStateDescription​(String value)
         Output only. Additional information about the current state of the trust, if available.
         
        string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The stateDescription to set.
        Returns:
        This builder for chaining.
      • clearStateDescription

        public Trust.Builder clearStateDescription()
         Output only. Additional information about the current state of the trust, if available.
         
        string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setStateDescriptionBytes

        public Trust.Builder setStateDescriptionBytes​(com.google.protobuf.ByteString value)
         Output only. Additional information about the current state of the trust, if available.
         
        string state_description = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for stateDescription to set.
        Returns:
        This builder for chaining.
      • 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:
        hasLastTrustHeartbeatTime in interface TrustOrBuilder
        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:
        getLastTrustHeartbeatTime in interface TrustOrBuilder
        Returns:
        The lastTrustHeartbeatTime.
      • setLastTrustHeartbeatTime

        public Trust.Builder setLastTrustHeartbeatTime​(com.google.protobuf.Timestamp value)
         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];
      • setLastTrustHeartbeatTime

        public Trust.Builder setLastTrustHeartbeatTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeLastTrustHeartbeatTime

        public Trust.Builder mergeLastTrustHeartbeatTime​(com.google.protobuf.Timestamp value)
         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];
      • clearLastTrustHeartbeatTime

        public Trust.Builder clearLastTrustHeartbeatTime()
         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];
      • getLastTrustHeartbeatTimeBuilder

        public com.google.protobuf.Timestamp.Builder getLastTrustHeartbeatTimeBuilder()
         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

        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:
        getLastTrustHeartbeatTimeOrBuilder in interface TrustOrBuilder
      • setUnknownFields

        public final Trust.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
      • mergeUnknownFields

        public final Trust.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>