Class ValidateTrustRequest.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateTrustRequest build()
Returns
TypeDescription
ValidateTrustRequest

buildPartial()

public ValidateTrustRequest buildPartial()
Returns
TypeDescription
ValidateTrustRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ValidateTrustRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ValidateTrustRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidateTrustRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ValidateTrustRequest.Builder

clone()

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

getDefaultInstanceForType()

public ValidateTrustRequest getDefaultInstanceForType()
Returns
TypeDescription
ValidateTrustRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the trust field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidateTrustRequest other)

public ValidateTrustRequest.Builder mergeFrom(ValidateTrustRequest other)
Parameter
NameDescription
otherValidateTrustRequest
Returns
TypeDescription
ValidateTrustRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ValidateTrustRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTrust
Returns
TypeDescription
ValidateTrustRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ValidateTrustRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTrust
Returns
TypeDescription
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
NameDescription
builderForValueTrust.Builder
Returns
TypeDescription
ValidateTrustRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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