Class Trust.Builder (1.30.0)

public static final class Trust.Builder extends 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

Implements

TrustOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllTargetDnsIpAddresses(Iterable<String> values)

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];

Parameter
NameDescription
valuesIterable<String>

The targetDnsIpAddresses to add.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Trust.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Trust.Builder
Overrides

addTargetDnsIpAddresses(String value)

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];

Parameter
NameDescription
valueString

The targetDnsIpAddresses to add.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

addTargetDnsIpAddressesBytes(ByteString value)

public Trust.Builder addTargetDnsIpAddressesBytes(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];

Parameter
NameDescription
valueByteString

The bytes of the targetDnsIpAddresses to add.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

build()

public Trust build()
Returns
TypeDescription
Trust

buildPartial()

public Trust buildPartial()
Returns
TypeDescription
Trust

clear()

public Trust.Builder clear()
Returns
TypeDescription
Trust.Builder
Overrides

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];

Returns
TypeDescription
Trust.Builder

clearField(Descriptors.FieldDescriptor field)

public Trust.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Trust.Builder
Overrides

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];

Returns
TypeDescription
Trust.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Trust.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Trust.Builder
Overrides

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

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
TypeDescription
Trust.Builder

This builder for chaining.

clearUpdateTime()

public Trust.Builder clearUpdateTime()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Trust.Builder

clone()

public Trust.Builder clone()
Returns
TypeDescription
Trust.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Trust getDefaultInstanceForType()
Returns
TypeDescription
Trust

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLastTrustHeartbeatTime()

public 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];

Returns
TypeDescription
Timestamp

The lastTrustHeartbeatTime.

getLastTrustHeartbeatTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getLastTrustHeartbeatTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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];

Returns
TypeDescription
boolean

The selectiveAuthentication.

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];

Returns
TypeDescription
Trust.State

The state.

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];

Returns
TypeDescription
String

The stateDescription.

getStateDescriptionBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for stateDescription.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getTargetDnsIpAddresses(int index)

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];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The targetDnsIpAddresses at the given index.

getTargetDnsIpAddressesBytes(int index)

public 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];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the targetDnsIpAddresses at the given index.

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];

Returns
TypeDescription
int

The count of targetDnsIpAddresses.

getTargetDnsIpAddressesList()

public 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];

Returns
TypeDescription
ProtocolStringList

A list containing the targetDnsIpAddresses.

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];

Returns
TypeDescription
String

The targetDomainName.

getTargetDomainNameBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for targetDomainName.

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];

Returns
TypeDescription
Trust.TrustDirection

The trustDirection.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for trustDirection.

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];

Returns
TypeDescription
String

The trustHandshakeSecret.

getTrustHandshakeSecretBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for trustHandshakeSecret.

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];

Returns
TypeDescription
Trust.TrustType

The trustType.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for trustType.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the lastTrustHeartbeatTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Trust.Builder mergeCreateTime(Timestamp value)

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Trust.Builder

mergeFrom(Trust other)

public Trust.Builder mergeFrom(Trust other)
Parameter
NameDescription
otherTrust
Returns
TypeDescription
Trust.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Trust.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Trust.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Trust.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Trust.Builder
Overrides

mergeLastTrustHeartbeatTime(Timestamp value)

public Trust.Builder mergeLastTrustHeartbeatTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Trust.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Trust.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Trust.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Trust.Builder mergeUpdateTime(Timestamp value)

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Trust.Builder

setCreateTime(Timestamp value)

public Trust.Builder setCreateTime(Timestamp value)

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Trust.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Trust.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Trust.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Trust.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Trust.Builder
Overrides

setLastTrustHeartbeatTime(Timestamp value)

public Trust.Builder setLastTrustHeartbeatTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Trust.Builder

setLastTrustHeartbeatTime(Timestamp.Builder builderForValue)

public Trust.Builder setLastTrustHeartbeatTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Trust.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Trust.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Trust.Builder
Overrides

setSelectiveAuthentication(boolean value)

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];

Parameter
NameDescription
valueboolean

The selectiveAuthentication to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setState(Trust.State value)

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];

Parameter
NameDescription
valueTrust.State

The state to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setStateDescription(String value)

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];

Parameter
NameDescription
valueString

The stateDescription to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setStateDescriptionBytes(ByteString value)

public Trust.Builder setStateDescriptionBytes(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];

Parameter
NameDescription
valueByteString

The bytes for stateDescription to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTargetDnsIpAddresses(int index, String value)

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
NameDescription
indexint

The index to set the value at.

valueString

The targetDnsIpAddresses to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTargetDomainName(String value)

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];

Parameter
NameDescription
valueString

The targetDomainName to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTargetDomainNameBytes(ByteString value)

public Trust.Builder setTargetDomainNameBytes(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];

Parameter
NameDescription
valueByteString

The bytes for targetDomainName to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTrustDirection(Trust.TrustDirection value)

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];

Parameter
NameDescription
valueTrust.TrustDirection

The trustDirection to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTrustDirectionValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for trustDirection to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTrustHandshakeSecret(String value)

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];

Parameter
NameDescription
valueString

The trustHandshakeSecret to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTrustHandshakeSecretBytes(ByteString value)

public Trust.Builder setTrustHandshakeSecretBytes(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];

Parameter
NameDescription
valueByteString

The bytes for trustHandshakeSecret to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTrustType(Trust.TrustType value)

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];

Parameter
NameDescription
valueTrust.TrustType

The trustType to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setTrustTypeValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for trustType to set.

Returns
TypeDescription
Trust.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Trust.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Trust.Builder
Overrides

setUpdateTime(Timestamp value)

public Trust.Builder setUpdateTime(Timestamp value)

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Trust.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Trust.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last update time.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Trust.Builder