Class Trust.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
- com.google.cloud.managedidentities.v1.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 typegoogle.cloud.managedidentities.v1.Trust
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Trust.Builder
addAllTargetDnsIpAddresses(Iterable<String> values)
Required.Trust.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Trust.Builder
addTargetDnsIpAddresses(String value)
Required.Trust.Builder
addTargetDnsIpAddressesBytes(com.google.protobuf.ByteString value)
Required.Trust
build()
Trust
buildPartial()
Trust.Builder
clear()
Trust.Builder
clearCreateTime()
Output only.Trust.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Trust.Builder
clearLastTrustHeartbeatTime()
Output only.Trust.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Trust.Builder
clearSelectiveAuthentication()
Optional.Trust.Builder
clearState()
Output only.Trust.Builder
clearStateDescription()
Output only.Trust.Builder
clearTargetDnsIpAddresses()
Required.Trust.Builder
clearTargetDomainName()
Required.Trust.Builder
clearTrustDirection()
Required.Trust.Builder
clearTrustHandshakeSecret()
Required.Trust.Builder
clearTrustType()
Required.Trust.Builder
clearUpdateTime()
Output only.Trust.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Trust
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getLastTrustHeartbeatTime()
Output only.com.google.protobuf.Timestamp.Builder
getLastTrustHeartbeatTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getLastTrustHeartbeatTimeOrBuilder()
Output only.boolean
getSelectiveAuthentication()
Optional.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.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasLastTrustHeartbeatTime()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Trust.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Trust.Builder
mergeFrom(Trust other)
Trust.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Trust.Builder
mergeFrom(com.google.protobuf.Message other)
Trust.Builder
mergeLastTrustHeartbeatTime(com.google.protobuf.Timestamp value)
Output only.Trust.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Trust.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Trust.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Trust.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Trust.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Trust.Builder
setLastTrustHeartbeatTime(com.google.protobuf.Timestamp value)
Output only.Trust.Builder
setLastTrustHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Trust.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Trust.Builder
setSelectiveAuthentication(boolean value)
Optional.Trust.Builder
setState(Trust.State value)
Output only.Trust.Builder
setStateDescription(String value)
Output only.Trust.Builder
setStateDescriptionBytes(com.google.protobuf.ByteString value)
Output only.Trust.Builder
setStateValue(int value)
Output only.Trust.Builder
setTargetDnsIpAddresses(int index, String value)
Required.Trust.Builder
setTargetDomainName(String value)
Required.Trust.Builder
setTargetDomainNameBytes(com.google.protobuf.ByteString value)
Required.Trust.Builder
setTrustDirection(Trust.TrustDirection value)
Required.Trust.Builder
setTrustDirectionValue(int value)
Required.Trust.Builder
setTrustHandshakeSecret(String value)
Required.Trust.Builder
setTrustHandshakeSecretBytes(com.google.protobuf.ByteString value)
Required.Trust.Builder
setTrustType(Trust.TrustType value)
Required.Trust.Builder
setTrustTypeValue(int value)
Required.Trust.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Trust.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Trust.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
clear
public Trust.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
getDefaultInstanceForType
public Trust getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Trust build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Trust buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Trust.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
setField
public Trust.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
clearField
public Trust.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
clearOneof
public Trust.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
addRepeatedField
public Trust.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
mergeFrom
public Trust.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Trust.Builder>
-
mergeFrom
public Trust.Builder mergeFrom(Trust other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 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:
getTargetDomainNameBytes
in interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
- 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 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:
getTargetDnsIpAddressesCount
in interfaceTrustOrBuilder
- 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 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:
getTargetDnsIpAddressesBytes
in interfaceTrustOrBuilder
- 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 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:
getTrustHandshakeSecretBytes
in interfaceTrustOrBuilder
- 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 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:
getCreateTime
in interfaceTrustOrBuilder
- 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 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:
hasUpdateTime
in 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:
getUpdateTime
in interfaceTrustOrBuilder
- 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 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:
getStateValue
in interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
- 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 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:
getStateDescriptionBytes
in interfaceTrustOrBuilder
- 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 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:
getLastTrustHeartbeatTime
in interfaceTrustOrBuilder
- 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 interfaceTrustOrBuilder
-
setUnknownFields
public final Trust.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
mergeUnknownFields
public final Trust.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
-