Class AttachTrustRequest.Builder (1.50.0)

public static final class AttachTrustRequest.Builder extends GeneratedMessageV3.Builder<AttachTrustRequest.Builder> implements AttachTrustRequestOrBuilder

Request message for AttachTrust

Protobuf type google.cloud.managedidentities.v1.AttachTrustRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AttachTrustRequest build()
Returns
Type Description
AttachTrustRequest

buildPartial()

public AttachTrustRequest buildPartial()
Returns
Type Description
AttachTrustRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AttachTrustRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AttachTrustRequest.Builder
Overrides

clearName()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTrust()

public AttachTrustRequest.Builder clearTrust()

Required. The domain trust resource.

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

Returns
Type Description
AttachTrustRequest.Builder

clone()

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

getDefaultInstanceForType()

public AttachTrustRequest getDefaultInstanceForType()
Returns
Type Description
AttachTrustRequest

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.

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

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTrust(Trust value)

public AttachTrustRequest.Builder mergeTrust(Trust value)

Required. The domain trust resource.

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

Parameter
Name Description
value Trust
Returns
Type Description
AttachTrustRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

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

This builder for chaining.

setNameBytes(ByteString value)

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

This builder for chaining.

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

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

setTrust(Trust value)

public AttachTrustRequest.Builder setTrust(Trust value)

Required. The domain trust resource.

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

Parameter
Name Description
value Trust
Returns
Type Description
AttachTrustRequest.Builder

setTrust(Trust.Builder builderForValue)

public AttachTrustRequest.Builder setTrust(Trust.Builder builderForValue)

Required. The domain trust resource.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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