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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateMicrosoftAdDomainRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateMicrosoftAdDomainRequest build()
Returns
buildPartial()
public CreateMicrosoftAdDomainRequest buildPartial()
Returns
clear()
public CreateMicrosoftAdDomainRequest.Builder clear()
Returns
Overrides
clearDomain()
public CreateMicrosoftAdDomainRequest.Builder clearDomain()
Required. A Managed Identity domain resource.
.google.cloud.managedidentities.v1.Domain domain = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
clearField(Descriptors.FieldDescriptor field)
public CreateMicrosoftAdDomainRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateMicrosoftAdDomainRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
clone()
public CreateMicrosoftAdDomainRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateMicrosoftAdDomainRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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];
Returns
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
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateMicrosoftAdDomainRequest other)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CreateMicrosoftAdDomainRequest other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateMicrosoftAdDomainRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateMicrosoftAdDomainRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateMicrosoftAdDomainRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateMicrosoftAdDomainRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateMicrosoftAdDomainRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides