Class DetachTrustRequest.Builder (1.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DetachTrustRequest build()
Returns
TypeDescription
DetachTrustRequest

buildPartial()

public DetachTrustRequest buildPartial()
Returns
TypeDescription
DetachTrustRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DetachTrustRequest getDefaultInstanceForType()
Returns
TypeDescription
DetachTrustRequest

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

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

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

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

public DetachTrustRequest.Builder mergeFrom(DetachTrustRequest other)
Parameter
NameDescription
otherDetachTrustRequest
Returns
TypeDescription
DetachTrustRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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