Class Domain.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
- com.google.cloud.managedidentities.v1.Domain.Builder
-
- All Implemented Interfaces:
DomainOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Domain
public static final class Domain.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder> implements DomainOrBuilder
Represents a managed Microsoft Active Directory domain.
Protobuf typegoogle.cloud.managedidentities.v1.Domain
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Domain.BuilderaddAllAuthorizedNetworks(Iterable<String> values)Optional.Domain.BuilderaddAllLocations(Iterable<String> values)Required.Domain.BuilderaddAllTrusts(Iterable<? extends Trust> values)Output only.Domain.BuilderaddAuthorizedNetworks(String value)Optional.Domain.BuilderaddAuthorizedNetworksBytes(com.google.protobuf.ByteString value)Optional.Domain.BuilderaddLocations(String value)Required.Domain.BuilderaddLocationsBytes(com.google.protobuf.ByteString value)Required.Domain.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Domain.BuilderaddTrusts(int index, Trust value)Output only.Domain.BuilderaddTrusts(int index, Trust.Builder builderForValue)Output only.Domain.BuilderaddTrusts(Trust value)Output only.Domain.BuilderaddTrusts(Trust.Builder builderForValue)Output only.Trust.BuilderaddTrustsBuilder()Output only.Trust.BuilderaddTrustsBuilder(int index)Output only.Domainbuild()DomainbuildPartial()Domain.Builderclear()Domain.BuilderclearAdmin()Optional.Domain.BuilderclearAuthorizedNetworks()Optional.Domain.BuilderclearCreateTime()Output only.Domain.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Domain.BuilderclearFqdn()Output only.Domain.BuilderclearLabels()Domain.BuilderclearLocations()Required.Domain.BuilderclearName()Required.Domain.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Domain.BuilderclearReservedIpRange()Required.Domain.BuilderclearState()Output only.Domain.BuilderclearStatusMessage()Output only.Domain.BuilderclearTrusts()Output only.Domain.BuilderclearUpdateTime()Output only.Domain.Builderclone()booleancontainsLabels(String key)Optional.StringgetAdmin()Optional.com.google.protobuf.ByteStringgetAdminBytes()Optional.StringgetAuthorizedNetworks(int index)Optional.com.google.protobuf.ByteStringgetAuthorizedNetworksBytes(int index)Optional.intgetAuthorizedNetworksCount()Optional.com.google.protobuf.ProtocolStringListgetAuthorizedNetworksList()Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DomaingetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFqdn()Output only.com.google.protobuf.ByteStringgetFqdnBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetLocations(int index)Required.com.google.protobuf.ByteStringgetLocationsBytes(int index)Required.intgetLocationsCount()Required.com.google.protobuf.ProtocolStringListgetLocationsList()Required.Map<String,String>getMutableLabels()Deprecated.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.StringgetReservedIpRange()Required.com.google.protobuf.ByteStringgetReservedIpRangeBytes()Required.Domain.StategetState()Output only.intgetStateValue()Output only.StringgetStatusMessage()Output only.com.google.protobuf.ByteStringgetStatusMessageBytes()Output only.TrustgetTrusts(int index)Output only.Trust.BuildergetTrustsBuilder(int index)Output only.List<Trust.Builder>getTrustsBuilderList()Output only.intgetTrustsCount()Output only.List<Trust>getTrustsList()Output only.TrustOrBuildergetTrustsOrBuilder(int index)Output only.List<? extends TrustOrBuilder>getTrustsOrBuilderList()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Domain.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Domain.BuildermergeFrom(Domain other)Domain.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Domain.BuildermergeFrom(com.google.protobuf.Message other)Domain.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Domain.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Domain.BuilderputAllLabels(Map<String,String> values)Optional.Domain.BuilderputLabels(String key, String value)Optional.Domain.BuilderremoveLabels(String key)Optional.Domain.BuilderremoveTrusts(int index)Output only.Domain.BuildersetAdmin(String value)Optional.Domain.BuildersetAdminBytes(com.google.protobuf.ByteString value)Optional.Domain.BuildersetAuthorizedNetworks(int index, String value)Optional.Domain.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Domain.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Domain.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Domain.BuildersetFqdn(String value)Output only.Domain.BuildersetFqdnBytes(com.google.protobuf.ByteString value)Output only.Domain.BuildersetLocations(int index, String value)Required.Domain.BuildersetName(String value)Required.Domain.BuildersetNameBytes(com.google.protobuf.ByteString value)Required.Domain.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Domain.BuildersetReservedIpRange(String value)Required.Domain.BuildersetReservedIpRangeBytes(com.google.protobuf.ByteString value)Required.Domain.BuildersetState(Domain.State value)Output only.Domain.BuildersetStateValue(int value)Output only.Domain.BuildersetStatusMessage(String value)Output only.Domain.BuildersetStatusMessageBytes(com.google.protobuf.ByteString value)Output only.Domain.BuildersetTrusts(int index, Trust value)Output only.Domain.BuildersetTrusts(int index, Trust.Builder builderForValue)Output only.Domain.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Domain.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Domain.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
clear
public Domain.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
getDefaultInstanceForType
public Domain getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Domain build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Domain buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Domain.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
setField
public Domain.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
clearField
public Domain.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
clearOneof
public Domain.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
setRepeatedField
public Domain.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
addRepeatedField
public Domain.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
mergeFrom
public Domain.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Domain.Builder>
-
mergeFrom
public Domain.Builder mergeFrom(Domain other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
mergeFrom
public Domain.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Domain.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceDomainOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceDomainOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- 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:
- This builder for chaining.
-
setNameBytes
public Domain.Builder setNameBytes(com.google.protobuf.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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DomainOrBuilderOptional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceDomainOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceDomainOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDomainOrBuilder
-
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];- Specified by:
getLabelsMapin interfaceDomainOrBuilder
-
getLabelsOrDefault
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];- Specified by:
getLabelsOrDefaultin interfaceDomainOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceDomainOrBuilder
-
clearLabels
public Domain.Builder clearLabels()
-
removeLabels
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];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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];
-
putAllLabels
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];
-
getAuthorizedNetworksList
public com.google.protobuf.ProtocolStringList getAuthorizedNetworksList()
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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];- Specified by:
getAuthorizedNetworksListin interfaceDomainOrBuilder- Returns:
- A list containing the authorizedNetworks.
-
getAuthorizedNetworksCount
public int getAuthorizedNetworksCount()
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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];- Specified by:
getAuthorizedNetworksCountin interfaceDomainOrBuilder- Returns:
- The count of authorizedNetworks.
-
getAuthorizedNetworks
public String getAuthorizedNetworks(int index)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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];- Specified by:
getAuthorizedNetworksin interfaceDomainOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The authorizedNetworks at the given index.
-
getAuthorizedNetworksBytes
public com.google.protobuf.ByteString getAuthorizedNetworksBytes(int index)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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];- Specified by:
getAuthorizedNetworksBytesin interfaceDomainOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the authorizedNetworks at the given index.
-
setAuthorizedNetworks
public Domain.Builder setAuthorizedNetworks(int index, String value)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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:
index- The index to set the value at.value- The authorizedNetworks to set.- Returns:
- This builder for chaining.
-
addAuthorizedNetworks
public Domain.Builder addAuthorizedNetworks(String value)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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:
value- The authorizedNetworks to add.- Returns:
- This builder for chaining.
-
addAllAuthorizedNetworks
public Domain.Builder addAllAuthorizedNetworks(Iterable<String> values)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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:
values- The authorizedNetworks to add.- Returns:
- This builder for chaining.
-
clearAuthorizedNetworks
public Domain.Builder clearAuthorizedNetworks()
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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:
- This builder for chaining.
-
addAuthorizedNetworksBytes
public Domain.Builder addAuthorizedNetworksBytes(com.google.protobuf.ByteString value)
Optional. The full names of the Google Compute Engine [networks](/compute/docs/networks-and-firewalls#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:
value- The bytes of the authorizedNetworks to add.- Returns:
- This builder for chaining.
-
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];- Specified by:
getReservedIpRangein interfaceDomainOrBuilder- Returns:
- The reservedIpRange.
-
getReservedIpRangeBytes
public com.google.protobuf.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];- Specified by:
getReservedIpRangeBytesin interfaceDomainOrBuilder- Returns:
- The bytes for reservedIpRange.
-
setReservedIpRange
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];- Parameters:
value- The reservedIpRange to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setReservedIpRangeBytes
public Domain.Builder setReservedIpRangeBytes(com.google.protobuf.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];- Parameters:
value- The bytes for reservedIpRange to set.- Returns:
- This builder for chaining.
-
getLocationsList
public com.google.protobuf.ProtocolStringList getLocationsList()
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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];- Specified by:
getLocationsListin interfaceDomainOrBuilder- Returns:
- A list containing the locations.
-
getLocationsCount
public int getLocationsCount()
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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];- Specified by:
getLocationsCountin interfaceDomainOrBuilder- Returns:
- The count of locations.
-
getLocations
public String getLocations(int index)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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];- Specified by:
getLocationsin interfaceDomainOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The locations at the given index.
-
getLocationsBytes
public com.google.protobuf.ByteString getLocationsBytes(int index)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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];- Specified by:
getLocationsBytesin interfaceDomainOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the locations at the given index.
-
setLocations
public Domain.Builder setLocations(int index, String value)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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:
index- The index to set the value at.value- The locations to set.- Returns:
- This builder for chaining.
-
addLocations
public Domain.Builder addLocations(String value)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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:
value- The locations to add.- Returns:
- This builder for chaining.
-
addAllLocations
public Domain.Builder addAllLocations(Iterable<String> values)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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:
values- The locations to add.- Returns:
- This builder for chaining.
-
clearLocations
public Domain.Builder clearLocations()
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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:
- This builder for chaining.
-
addLocationsBytes
public Domain.Builder addLocationsBytes(com.google.protobuf.ByteString value)
Required. Locations where domain needs to be provisioned. [regions][compute/docs/regions-zones/] 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:
value- The bytes of the locations to add.- Returns:
- This builder for chaining.
-
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];- Specified by:
getAdminin interfaceDomainOrBuilder- Returns:
- The admin.
-
getAdminBytes
public com.google.protobuf.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];- Specified by:
getAdminBytesin interfaceDomainOrBuilder- Returns:
- The bytes for admin.
-
setAdmin
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];- Parameters:
value- The admin to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setAdminBytes
public Domain.Builder setAdminBytes(com.google.protobuf.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];- Parameters:
value- The bytes for admin to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFqdnin interfaceDomainOrBuilder- Returns:
- The fqdn.
-
getFqdnBytes
public com.google.protobuf.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];- Specified by:
getFqdnBytesin interfaceDomainOrBuilder- Returns:
- The bytes for fqdn.
-
setFqdn
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];- Parameters:
value- The fqdn to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setFqdnBytes
public Domain.Builder setFqdnBytes(com.google.protobuf.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];- Parameters:
value- The bytes for fqdn to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDomainOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDomainOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Domain.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Domain.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Domain.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDomainOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDomainOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDomainOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Domain.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Domain.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Domain.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Domain.Builder clearUpdateTime()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDomainOrBuilder
-
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];- Specified by:
getStateValuein interfaceDomainOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStatein interfaceDomainOrBuilder- Returns:
- The state.
-
setState
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];- Parameters:
value- The state to set.- Returns:
- 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:
- This builder for chaining.
-
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];- Specified by:
getStatusMessagein interfaceDomainOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.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];- Specified by:
getStatusMessageBytesin interfaceDomainOrBuilder- Returns:
- The bytes for statusMessage.
-
setStatusMessage
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];- Parameters:
value- The statusMessage to set.- Returns:
- 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:
- This builder for chaining.
-
setStatusMessageBytes
public Domain.Builder setStatusMessageBytes(com.google.protobuf.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];- Parameters:
value- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTrustsListin interfaceDomainOrBuilder
-
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];- Specified by:
getTrustsCountin interfaceDomainOrBuilder
-
getTrusts
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];- Specified by:
getTrustsin interfaceDomainOrBuilder
-
setTrusts
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];
-
setTrusts
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];
-
addTrusts
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];
-
addTrusts
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];
-
addTrusts
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];
-
addTrusts
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];
-
addAllTrusts
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];
-
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];
-
removeTrusts
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];
-
getTrustsBuilder
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];
-
getTrustsOrBuilder
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];- Specified by:
getTrustsOrBuilderin interfaceDomainOrBuilder
-
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];- Specified by:
getTrustsOrBuilderListin interfaceDomainOrBuilder
-
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];
-
addTrustsBuilder
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];
-
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];
-
setUnknownFields
public final Domain.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
mergeUnknownFields
public final Domain.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Domain.Builder>
-
-