Class CreateMicrosoftAdDomainRequest.Builder (1.1.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateMicrosoftAdDomainRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides

build()

public CreateMicrosoftAdDomainRequest build()
Returns
TypeDescription
CreateMicrosoftAdDomainRequest

buildPartial()

public CreateMicrosoftAdDomainRequest buildPartial()
Returns
TypeDescription
CreateMicrosoftAdDomainRequest

clear()

public CreateMicrosoftAdDomainRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateMicrosoftAdDomainRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateMicrosoftAdDomainRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateMicrosoftAdDomainRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateMicrosoftAdDomainRequest.Builder

This builder for chaining.

clone()

public CreateMicrosoftAdDomainRequest.Builder clone()
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateMicrosoftAdDomainRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateMicrosoftAdDomainRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the domain field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDomain
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder

mergeFrom(CreateMicrosoftAdDomainRequest other)

public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CreateMicrosoftAdDomainRequest other)
Parameter
NameDescription
otherCreateMicrosoftAdDomainRequest
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateMicrosoftAdDomainRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateMicrosoftAdDomainRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateMicrosoftAdDomainRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDomain
Returns
TypeDescription
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
NameDescription
builderForValueDomain.Builder
Returns
TypeDescription
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
NameDescription
valueString

The domainName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for domainName to set.

Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateMicrosoftAdDomainRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateMicrosoftAdDomainRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateMicrosoftAdDomainRequest.Builder
Overrides