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.BuilderaddAllTargetDnsIpAddresses(Iterable<String> values)Required.Trust.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Trust.BuilderaddTargetDnsIpAddresses(String value)Required.Trust.BuilderaddTargetDnsIpAddressesBytes(com.google.protobuf.ByteString value)Required.Trustbuild()TrustbuildPartial()Trust.Builderclear()Trust.BuilderclearCreateTime()Output only.Trust.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Trust.BuilderclearLastTrustHeartbeatTime()Output only.Trust.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Trust.BuilderclearSelectiveAuthentication()Optional.Trust.BuilderclearState()Output only.Trust.BuilderclearStateDescription()Output only.Trust.BuilderclearTargetDnsIpAddresses()Required.Trust.BuilderclearTargetDomainName()Required.Trust.BuilderclearTrustDirection()Required.Trust.BuilderclearTrustHandshakeSecret()Required.Trust.BuilderclearTrustType()Required.Trust.BuilderclearUpdateTime()Output only.Trust.Builderclone()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.TrustgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetLastTrustHeartbeatTime()Output only.com.google.protobuf.Timestamp.BuildergetLastTrustHeartbeatTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetLastTrustHeartbeatTimeOrBuilder()Output only.booleangetSelectiveAuthentication()Optional.Trust.StategetState()Output only.StringgetStateDescription()Output only.com.google.protobuf.ByteStringgetStateDescriptionBytes()Output only.intgetStateValue()Output only.StringgetTargetDnsIpAddresses(int index)Required.com.google.protobuf.ByteStringgetTargetDnsIpAddressesBytes(int index)Required.intgetTargetDnsIpAddressesCount()Required.com.google.protobuf.ProtocolStringListgetTargetDnsIpAddressesList()Required.StringgetTargetDomainName()Required.com.google.protobuf.ByteStringgetTargetDomainNameBytes()Required.Trust.TrustDirectiongetTrustDirection()Required.intgetTrustDirectionValue()Required.StringgetTrustHandshakeSecret()Required.com.google.protobuf.ByteStringgetTrustHandshakeSecretBytes()Required.Trust.TrustTypegetTrustType()Required.intgetTrustTypeValue()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasLastTrustHeartbeatTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Trust.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Trust.BuildermergeFrom(Trust other)Trust.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Trust.BuildermergeFrom(com.google.protobuf.Message other)Trust.BuildermergeLastTrustHeartbeatTime(com.google.protobuf.Timestamp value)Output only.Trust.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Trust.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Trust.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Trust.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Trust.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Trust.BuildersetLastTrustHeartbeatTime(com.google.protobuf.Timestamp value)Output only.Trust.BuildersetLastTrustHeartbeatTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Trust.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Trust.BuildersetSelectiveAuthentication(boolean value)Optional.Trust.BuildersetState(Trust.State value)Output only.Trust.BuildersetStateDescription(String value)Output only.Trust.BuildersetStateDescriptionBytes(com.google.protobuf.ByteString value)Output only.Trust.BuildersetStateValue(int value)Output only.Trust.BuildersetTargetDnsIpAddresses(int index, String value)Required.Trust.BuildersetTargetDomainName(String value)Required.Trust.BuildersetTargetDomainNameBytes(com.google.protobuf.ByteString value)Required.Trust.BuildersetTrustDirection(Trust.TrustDirection value)Required.Trust.BuildersetTrustDirectionValue(int value)Required.Trust.BuildersetTrustHandshakeSecret(String value)Required.Trust.BuildersetTrustHandshakeSecretBytes(com.google.protobuf.ByteString value)Required.Trust.BuildersetTrustType(Trust.TrustType value)Required.Trust.BuildersetTrustTypeValue(int value)Required.Trust.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Trust.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Trust.BuildersetUpdateTime(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
clear
public Trust.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
getDefaultInstanceForType
public Trust getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Trust build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Trust buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Trust.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
setField
public Trust.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
clearField
public Trust.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
clearOneof
public Trust.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
setRepeatedField
public Trust.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
addRepeatedField
public Trust.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
mergeFrom
public Trust.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Trust.Builder>
-
mergeFrom
public Trust.Builder mergeFrom(Trust other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
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.
-
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:
getTrustTypeValuein 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:
getTrustTypein 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:
getTrustDirectionValuein 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:
getTrustDirectionin 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:
getSelectiveAuthenticationin 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:
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
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:
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.
-
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:
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.
-
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:
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.
-
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:
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.
-
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:
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.
-
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:
getStatein 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:
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.
-
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:
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.
-
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:
getLastTrustHeartbeatTimeOrBuilderin interfaceTrustOrBuilder
-
setUnknownFields
public final Trust.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
mergeUnknownFields
public final Trust.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Trust.Builder>
-
-