Class ValidateTrustRequest.Builder (1.40.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidateTrustRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidateTrustRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidateTrustRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ValidateTrustRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

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.

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

public ValidateTrustRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ValidateTrustRequest.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidateTrustRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidateTrustRequest.Builder
Overrides