Class DetachTrustRequest.Builder (1.81.0)

public static final class DetachTrustRequest.Builder extends GeneratedMessage.Builder<DetachTrustRequest.Builder> implements DetachTrustRequestOrBuilder

Request message for DetachTrust

Protobuf type google.cloud.managedidentities.v1.DetachTrustRequest

Static Methods

getDescriptor()

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

Methods

build()

public DetachTrustRequest build()
Returns
Type Description
DetachTrustRequest

buildPartial()

public DetachTrustRequest buildPartial()
Returns
Type Description
DetachTrustRequest

clear()

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

clearName()

public DetachTrustRequest.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
DetachTrustRequest.Builder

This builder for chaining.

clearTrust()

public DetachTrustRequest.Builder clearTrust()

Required. The domain trust resource to removed.

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

Returns
Type Description
DetachTrustRequest.Builder

getDefaultInstanceForType()

public DetachTrustRequest getDefaultInstanceForType()
Returns
Type Description
DetachTrustRequest

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 resource to removed.

.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 resource to removed.

.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 resource to removed.

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

Returns
Type Description
TrustOrBuilder

hasTrust()

public boolean hasTrust()

Required. The domain trust resource to removed.

.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(DetachTrustRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrust(Trust value)

public DetachTrustRequest.Builder mergeTrust(Trust value)

Required. The domain trust resource to removed.

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

Parameter
Name Description
value Trust
Returns
Type Description
DetachTrustRequest.Builder

setName(String value)

public DetachTrustRequest.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
DetachTrustRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DetachTrustRequest.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
DetachTrustRequest.Builder

This builder for chaining.

setTrust(Trust value)

public DetachTrustRequest.Builder setTrust(Trust value)

Required. The domain trust resource to removed.

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

Parameter
Name Description
value Trust
Returns
Type Description
DetachTrustRequest.Builder

setTrust(Trust.Builder builderForValue)

public DetachTrustRequest.Builder setTrust(Trust.Builder builderForValue)

Required. The domain trust resource to removed.

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

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