Class Domain.Builder (1.37.0)

public static final class Domain.Builder extends GeneratedMessageV3.Builder<Domain.Builder> implements DomainOrBuilder

Represents a managed Microsoft Active Directory domain.

Protobuf type google.cloud.managedidentities.v1.Domain

Implements

DomainOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAuthorizedNetworks(Iterable<String> values)

public Domain.Builder addAllAuthorizedNetworks(Iterable<String> values)

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesIterable<String>

The authorizedNetworks to add.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

addAllLocations(Iterable<String> values)

public Domain.Builder addAllLocations(Iterable<String> values)

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<String>

The locations to add.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

addAllTrusts(Iterable<? extends Trust> values)

public Domain.Builder addAllTrusts(Iterable<? extends Trust> values)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.managedidentities.v1.Trust>
Returns
TypeDescription
Domain.Builder

addAuthorizedNetworks(String value)

public Domain.Builder addAuthorizedNetworks(String value)

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The authorizedNetworks to add.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

addAuthorizedNetworksBytes(ByteString value)

public Domain.Builder addAuthorizedNetworksBytes(ByteString value)

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes of the authorizedNetworks to add.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

addLocations(String value)

public Domain.Builder addLocations(String value)

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The locations to add.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

addLocationsBytes(ByteString value)

public Domain.Builder addLocationsBytes(ByteString value)

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes of the locations to add.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTrusts(Trust value)

public Domain.Builder addTrusts(Trust value)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTrust
Returns
TypeDescription
Domain.Builder

addTrusts(Trust.Builder builderForValue)

public Domain.Builder addTrusts(Trust.Builder builderForValue)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueTrust.Builder
Returns
TypeDescription
Domain.Builder

addTrusts(int index, Trust value)

public Domain.Builder addTrusts(int index, Trust value)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueTrust
Returns
TypeDescription
Domain.Builder

addTrusts(int index, Trust.Builder builderForValue)

public Domain.Builder addTrusts(int index, Trust.Builder builderForValue)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueTrust.Builder
Returns
TypeDescription
Domain.Builder

addTrustsBuilder()

public Trust.Builder addTrustsBuilder()

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Trust.Builder

addTrustsBuilder(int index)

public Trust.Builder addTrustsBuilder(int index)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Trust.Builder

build()

public Domain build()
Returns
TypeDescription
Domain

buildPartial()

public Domain buildPartial()
Returns
TypeDescription
Domain

clear()

public Domain.Builder clear()
Returns
TypeDescription
Domain.Builder
Overrides

clearAdmin()

public Domain.Builder clearAdmin()

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

string admin = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearAuthorizedNetworks()

public Domain.Builder clearAuthorizedNetworks()

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearCreateTime()

public Domain.Builder clearCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFqdn()

public Domain.Builder clearFqdn()

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearLabels()

public Domain.Builder clearLabels()
Returns
TypeDescription
Domain.Builder

clearLocations()

public Domain.Builder clearLocations()

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearName()

public Domain.Builder clearName()

Required. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Domain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Domain.Builder
Overrides

clearReservedIpRange()

public Domain.Builder clearReservedIpRange()

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearState()

public Domain.Builder clearState()

Output only. The current state of this domain.

.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearStatusMessage()

public Domain.Builder clearStatusMessage()

Output only. Additional information about the current status of this domain, if available.

string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.Builder

This builder for chaining.

clearTrusts()

public Domain.Builder clearTrusts()

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.Builder

clearUpdateTime()

public Domain.Builder clearUpdateTime()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAdmin()

public String getAdmin()

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

string admin = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The admin.

getAdminBytes()

public ByteString getAdminBytes()

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

string admin = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for admin.

getAuthorizedNetworks(int index)

public String getAuthorizedNetworks(int index)

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The authorizedNetworks at the given index.

getAuthorizedNetworksBytes(int index)

public ByteString getAuthorizedNetworksBytes(int index)

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the authorizedNetworks at the given index.

getAuthorizedNetworksCount()

public int getAuthorizedNetworksCount()

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of authorizedNetworks.

getAuthorizedNetworksList()

public ProtocolStringList getAuthorizedNetworksList()

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ProtocolStringList

A list containing the authorizedNetworks.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Domain getDefaultInstanceForType()
Returns
TypeDescription
Domain

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFqdn()

public String getFqdn()

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The fqdn.

getFqdnBytes()

public ByteString getFqdnBytes()

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for fqdn.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLocations(int index)

public String getLocations(int index)

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The locations at the given index.

getLocationsBytes(int index)

public ByteString getLocationsBytes(int index)

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the locations at the given index.

getLocationsCount()

public int getLocationsCount()

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of locations.

getLocationsList()

public ProtocolStringList getLocationsList()

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the locations.

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Required. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for name.

getReservedIpRange()

public String getReservedIpRange()

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The reservedIpRange.

getReservedIpRangeBytes()

public ByteString getReservedIpRangeBytes()

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for reservedIpRange.

getState()

public Domain.State getState()

Output only. The current state of this domain.

.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Domain.State

The state.

getStateValue()

public int getStateValue()

Output only. The current state of this domain.

.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getStatusMessage()

public String getStatusMessage()

Output only. Additional information about the current status of this domain, if available.

string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The statusMessage.

getStatusMessageBytes()

public ByteString getStatusMessageBytes()

Output only. Additional information about the current status of this domain, if available.

string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for statusMessage.

getTrusts(int index)

public Trust getTrusts(int index)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Trust

getTrustsBuilder(int index)

public Trust.Builder getTrustsBuilder(int index)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Trust.Builder

getTrustsBuilderList()

public List<Trust.Builder> getTrustsBuilderList()

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Builder>

getTrustsCount()

public int getTrustsCount()

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getTrustsList()

public List<Trust> getTrustsList()

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Trust>

getTrustsOrBuilder(int index)

public TrustOrBuilder getTrustsOrBuilder(int index)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
TrustOrBuilder

getTrustsOrBuilderList()

public List<? extends TrustOrBuilder> getTrustsOrBuilderList()

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.managedidentities.v1.TrustOrBuilder>

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public Domain.Builder mergeCreateTime(Timestamp value)

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Domain.Builder

mergeFrom(Domain other)

public Domain.Builder mergeFrom(Domain other)
Parameter
NameDescription
otherDomain
Returns
TypeDescription
Domain.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Domain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Domain.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Domain.Builder mergeUpdateTime(Timestamp value)

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Domain.Builder

putAllLabels(Map<String,String> values)

public Domain.Builder putAllLabels(Map<String,String> values)

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Domain.Builder

putLabels(String key, String value)

public Domain.Builder putLabels(String key, String value)

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Domain.Builder

removeLabels(String key)

public Domain.Builder removeLabels(String key)

Optional. Resource labels that can contain user-provided metadata.

map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
Domain.Builder

removeTrusts(int index)

public Domain.Builder removeTrusts(int index)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
Domain.Builder

setAdmin(String value)

public Domain.Builder setAdmin(String value)

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

string admin = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The admin to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setAdminBytes(ByteString value)

public Domain.Builder setAdminBytes(ByteString value)

Optional. The name of delegated administrator account used to perform Active Directory operations. If not specified, setupadmin will be used.

string admin = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for admin to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setAuthorizedNetworks(int index, String value)

public Domain.Builder setAuthorizedNetworks(int index, String value)

Optional. The full names of the Google Compute Engine networks the domain instance is connected to. Networks can be added using UpdateDomain. The domain is only available on networks listed in authorized_networks. If CIDR subnets overlap between networks, domain creation will fail.

repeated string authorized_networks = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The authorizedNetworks to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Domain.Builder setCreateTime(Timestamp value)

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Domain.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Domain.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the instance was created.

.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Domain.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFqdn(String value)

public Domain.Builder setFqdn(String value)

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The fqdn to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setFqdnBytes(ByteString value)

public Domain.Builder setFqdnBytes(ByteString value)

Output only. The fully-qualified domain name of the exposed domain used by clients to connect to the service. Similar to what would be chosen for an Active Directory set up on an internal network.

string fqdn = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for fqdn to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setLocations(int index, String value)

public Domain.Builder setLocations(int index, String value)

Required. Locations where domain needs to be provisioned. regions e.g. us-west1 or us-east4 Service supports up to 4 locations at once. Each location will use a /26 block.

repeated string locations = 5 [(.google.api.field_behavior) = REQUIRED];

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The locations to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setName(String value)

public Domain.Builder setName(String value)

Required. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Domain.Builder setNameBytes(ByteString value)

Required. The unique name of the domain using the form: projects/{project_id}/locations/global/domains/{domain_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

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

public Domain.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Domain.Builder
Overrides

setReservedIpRange(String value)

public Domain.Builder setReservedIpRange(String value)

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The reservedIpRange to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setReservedIpRangeBytes(ByteString value)

public Domain.Builder setReservedIpRangeBytes(ByteString value)

Required. The CIDR range of internal addresses that are reserved for this domain. Reserved networks must be /24 or larger. Ranges must be unique and non-overlapping with existing subnets in [Domain].[authorized_networks].

string reserved_ip_range = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for reservedIpRange to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setState(Domain.State value)

public Domain.Builder setState(Domain.State value)

Output only. The current state of this domain.

.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueDomain.State

The state to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setStateValue(int value)

public Domain.Builder setStateValue(int value)

Output only. The current state of this domain.

.google.cloud.managedidentities.v1.Domain.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setStatusMessage(String value)

public Domain.Builder setStatusMessage(String value)

Output only. Additional information about the current status of this domain, if available.

string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The statusMessage to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setStatusMessageBytes(ByteString value)

public Domain.Builder setStatusMessageBytes(ByteString value)

Output only. Additional information about the current status of this domain, if available.

string status_message = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for statusMessage to set.

Returns
TypeDescription
Domain.Builder

This builder for chaining.

setTrusts(int index, Trust value)

public Domain.Builder setTrusts(int index, Trust value)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
valueTrust
Returns
TypeDescription
Domain.Builder

setTrusts(int index, Trust.Builder builderForValue)

public Domain.Builder setTrusts(int index, Trust.Builder builderForValue)

Output only. The current trusts associated with the domain.

repeated .google.cloud.managedidentities.v1.Trust trusts = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
indexint
builderForValueTrust.Builder
Returns
TypeDescription
Domain.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public Domain.Builder setUpdateTime(Timestamp value)

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Domain.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Domain.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The last update time.

.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Domain.Builder