Class CreateMicrosoftAdDomainRequest.Builder (1.50.0)

public static final class CreateMicrosoftAdDomainRequest.Builder extends GeneratedMessageV3.Builder<CreateMicrosoftAdDomainRequest.Builder> implements CreateMicrosoftAdDomainRequestOrBuilder

Request message for CreateMicrosoftAdDomain

Protobuf type google.cloud.managedidentities.v1.CreateMicrosoftAdDomainRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateMicrosoftAdDomainRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
Overrides

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
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
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.

clearField(Descriptors.FieldDescriptor field)

public CreateMicrosoftAdDomainRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateMicrosoftAdDomainRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
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
Type Description
CreateMicrosoftAdDomainRequest.Builder

This builder for chaining.

clone()

public CreateMicrosoftAdDomainRequest.Builder clone()
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateMicrosoftAdDomainRequest getDefaultInstanceForType()
Returns
Type Description
CreateMicrosoftAdDomainRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateMicrosoftAdDomainRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateMicrosoftAdDomainRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
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
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 String

The 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 ByteString

The bytes for domainName to set.

Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateMicrosoftAdDomainRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
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
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 ByteString

The bytes for parent to set.

Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateMicrosoftAdDomainRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateMicrosoftAdDomainRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateMicrosoftAdDomainRequest.Builder
Overrides