public static final class AttachTrustRequest.Builder extends GeneratedMessageV3.Builder<AttachTrustRequest.Builder> implements AttachTrustRequestOrBuilder
Request message for
AttachTrust
Protobuf type google.cloud.managedidentities.v1.AttachTrustRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AttachTrustRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AttachTrustRequest build()
buildPartial()
public AttachTrustRequest buildPartial()
clear()
public AttachTrustRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AttachTrustRequest.Builder clearField(Descriptors.FieldDescriptor field)
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public AttachTrustRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTrust()
public AttachTrustRequest.Builder clearTrust()
Required. The domain trust resource.
.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public AttachTrustRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public AttachTrustRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
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];
getTrustOrBuilder()
public TrustOrBuilder getTrustOrBuilder()
Required. The domain trust resource.
.google.cloud.managedidentities.v1.Trust trust = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AttachTrustRequest other)
public AttachTrustRequest.Builder mergeFrom(AttachTrustRequest other)
public AttachTrustRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AttachTrustRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AttachTrustRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AttachTrustRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AttachTrustRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final AttachTrustRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides