Class ValidateTrustRequest.Builder (1.81.0)

public static final class ValidateTrustRequest.Builder extends GeneratedMessage.Builder<ValidateTrustRequest.Builder> implements ValidateTrustRequestOrBuilder

Request message for ValidateTrust

Protobuf type google.cloud.managedidentities.v1.ValidateTrustRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ValidateTrustRequest build()
Returns
Type Description
ValidateTrustRequest

buildPartial()

public ValidateTrustRequest buildPartial()
Returns
Type Description
ValidateTrustRequest

clear()

public ValidateTrustRequest.Builder clear()
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

clearName()

public ValidateTrustRequest.Builder clearName()

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ValidateTrustRequest.Builder

This builder for chaining.

clearTrust()

public ValidateTrustRequest.Builder clearTrust()

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValidateTrustRequest.Builder

getDefaultInstanceForType()

public ValidateTrustRequest getDefaultInstanceForType()
Returns
Type Description
ValidateTrustRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getTrust()

public Trust getTrust()

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Trust

The trust.

getTrustBuilder()

public Trust.Builder getTrustBuilder()

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Trust.Builder

getTrustOrBuilder()

public TrustOrBuilder getTrustOrBuilder()

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TrustOrBuilder

hasTrust()

public boolean hasTrust()

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the trust field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidateTrustRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ValidateTrustRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

mergeTrust(Trust value)

public ValidateTrustRequest.Builder mergeTrust(Trust value)

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Trust
Returns
Type Description
ValidateTrustRequest.Builder

setName(String value)

public ValidateTrustRequest.Builder setName(String value)

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ValidateTrustRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ValidateTrustRequest.Builder setNameBytes(ByteString value)

Required. The resource domain name, project name, and location using the form: projects/{project_id}/locations/global/domains/{domain_name}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ValidateTrustRequest.Builder

This builder for chaining.

setTrust(Trust value)

public ValidateTrustRequest.Builder setTrust(Trust value)

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Trust
Returns
Type Description
ValidateTrustRequest.Builder

setTrust(Trust.Builder builderForValue)

public ValidateTrustRequest.Builder setTrust(Trust.Builder builderForValue)

Required. The domain trust to validate trust state for.

.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Trust.Builder
Returns
Type Description
ValidateTrustRequest.Builder