Class DetachTrustRequest.Builder (1.47.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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