Class Trust.Builder (1.46.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
Type Description
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
Name Description
values Iterable<String>

The targetDnsIpAddresses to add.

Returns
Type Description
Trust.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Trust.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The targetDnsIpAddresses to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the targetDnsIpAddresses to add.

Returns
Type Description
Trust.Builder

This builder for chaining.

build()

public Trust build()
Returns
Type Description
Trust

buildPartial()

public Trust buildPartial()
Returns
Type Description
Trust

clear()

public Trust.Builder clear()
Returns
Type Description
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
Type Description
Trust.Builder

clearField(Descriptors.FieldDescriptor field)

public Trust.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Trust.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Trust.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Trust.Builder

clone()

public Trust.Builder clone()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Trust getDefaultInstanceForType()
Returns
Type Description
Trust

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update time.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Trust.Builder

mergeFrom(Trust other)

public Trust.Builder mergeFrom(Trust other)
Parameter
Name Description
other Trust
Returns
Type Description
Trust.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Trust.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Trust.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Trust.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Trust.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Trust.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Trust.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Trust.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Trust.Builder

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

public Trust.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value boolean

The selectiveAuthentication to set.

Returns
Type Description
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
Name Description
value Trust.State

The state to set.

Returns
Type Description
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
Name Description
value String

The stateDescription to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for stateDescription to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The targetDnsIpAddresses to set.

Returns
Type Description
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
Name Description
value String

The targetDomainName to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for targetDomainName to set.

Returns
Type Description
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
Name Description
value Trust.TrustDirection

The trustDirection to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
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
Name Description
value String

The trustHandshakeSecret to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for trustHandshakeSecret to set.

Returns
Type Description
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
Name Description
value Trust.TrustType

The trustType to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
Trust.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Trust.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Trust.Builder