public static final class AttachTrustRequest.Builder extends GeneratedMessageV3.Builder<AttachTrustRequest.Builder> implements AttachTrustRequestOrBuilder
Request message for
AttachTrust
Protobuf type google.cloud.managedidentities.v1.AttachTrustRequest
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttachTrustRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AttachTrustRequest build()
Returns
buildPartial()
public AttachTrustRequest buildPartial()
Returns
clear()
public AttachTrustRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AttachTrustRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public AttachTrustRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTrust()
public AttachTrustRequest.Builder clearTrust()
Required. The domain trust resource.
.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public AttachTrustRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AttachTrustRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
getTrustOrBuilder()
public TrustOrBuilder getTrustOrBuilder()
Required. The domain trust resource.
.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AttachTrustRequest other)
public AttachTrustRequest.Builder mergeFrom(AttachTrustRequest other)
Parameter
Returns
public AttachTrustRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AttachTrustRequest.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttachTrustRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AttachTrustRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttachTrustRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AttachTrustRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides