public static final class CreateMicrosoftAdDomainRequest.Builder extends GeneratedMessageV3.Builder<CreateMicrosoftAdDomainRequest.Builder> implements CreateMicrosoftAdDomainRequestOrBuilder
Request message for
CreateMicrosoftAdDomain
Protobuf type google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest
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 CreateMicrosoftAdDomainRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateMicrosoftAdDomainRequest build()
buildPartial()
public CreateMicrosoftAdDomainRequest buildPartial()
clear()
public CreateMicrosoftAdDomainRequest.Builder clear()
Overrides
clearDomain()
public CreateMicrosoftAdDomainRequest.Builder clearDomain()
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
clearDomainName()
public CreateMicrosoftAdDomainRequest.Builder clearDomainName()
Required. The fully qualified domain name.
e.g. mydomain.myorganization.com, with the following restrictions:
- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed
15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateMicrosoftAdDomainRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMicrosoftAdDomainRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateMicrosoftAdDomainRequest.Builder clearParent()
Required. The resource project name and location using the form:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateMicrosoftAdDomainRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateMicrosoftAdDomainRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDomain()
public Domain getDomain()
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Domain |
The domain.
|
getDomainBuilder()
public Domain.Builder getDomainBuilder()
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
getDomainName()
public String getDomainName()
Required. The fully qualified domain name.
e.g. mydomain.myorganization.com, with the following restrictions:
- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed
15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The domainName.
|
getDomainNameBytes()
public ByteString getDomainNameBytes()
Required. The fully qualified domain name.
e.g. mydomain.myorganization.com, with the following restrictions:
- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed
15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for domainName.
|
getDomainOrBuilder()
public DomainOrBuilder getDomainOrBuilder()
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The resource project name and location using the form:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The resource project name and location using the form:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasDomain()
public boolean hasDomain()
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the domain field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDomain(Domain value)
public CreateMicrosoftAdDomainRequest.Builder mergeDomain(Domain value)
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Domain
|
mergeFrom(CreateMicrosoftAdDomainRequest other)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CreateMicrosoftAdDomainRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMicrosoftAdDomainRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDomain(Domain value)
public CreateMicrosoftAdDomainRequest.Builder setDomain(Domain value)
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Domain
|
setDomain(Domain.Builder builderForValue)
public CreateMicrosoftAdDomainRequest.Builder setDomain(Domain.Builder builderForValue)
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
setDomainName(String value)
public CreateMicrosoftAdDomainRequest.Builder setDomainName(String value)
Required. The fully qualified domain name.
e.g. mydomain.myorganization.com, with the following restrictions:
- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed
15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The domainName to set.
|
setDomainNameBytes(ByteString value)
public CreateMicrosoftAdDomainRequest.Builder setDomainNameBytes(ByteString value)
Required. The fully qualified domain name.
e.g. mydomain.myorganization.com, with the following restrictions:
- Must contain only lowercase letters, numbers, periods and hyphens.
- Must start with a letter.
- Must contain between 2-64 characters.
- Must end with a number or a letter.
- Must not start with period.
- First segement length (mydomain form example above) shouldn't exceed
15 chars.
- The last segment cannot be fully numeric.
- Must be unique within the customer project.
string domain_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for domainName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMicrosoftAdDomainRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateMicrosoftAdDomainRequest.Builder setParent(String value)
Required. The resource project name and location using the form:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateMicrosoftAdDomainRequest.Builder setParentBytes(ByteString value)
Required. The resource project name and location using the form:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateMicrosoftAdDomainRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMicrosoftAdDomainRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides