public static final class CreateMicrosoftAdDomainRequest.Builder extends GeneratedMessage.Builder<CreateMicrosoftAdDomainRequest.Builder> implements CreateMicrosoftAdDomainRequestOrBuilderRequest message for CreateMicrosoftAdDomain
Protobuf type google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateMicrosoftAdDomainRequest.BuilderImplements
CreateMicrosoftAdDomainRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateMicrosoftAdDomainRequest build()| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest |
|
buildPartial()
public CreateMicrosoftAdDomainRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest |
|
clear()
public CreateMicrosoftAdDomainRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
clearDomain()
public CreateMicrosoftAdDomainRequest.Builder clearDomain()Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
This builder for chaining. |
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateMicrosoftAdDomainRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Domain.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
DomainOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
mergeFrom(CreateMicrosoftAdDomainRequest other)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CreateMicrosoftAdDomainRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateMicrosoftAdDomainRequest |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Domain.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
|
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 |
StringThe domainName to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for domainName to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
This builder for chaining. |
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 |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMicrosoftAdDomainRequest.Builder |
This builder for chaining. |