public final class Domain extends GeneratedMessageV3 implements DomainOrBuilder
Represents a managed Microsoft Active Directory ___domain.
Protobuf type google.cloud.managedidentities.v1.Domain
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADMIN_FIELD_NUMBER
public static final int ADMIN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
AUTHORIZED_NETWORKS_FIELD_NUMBER
public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FQDN_FIELD_NUMBER
public static final int FQDN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCATIONS_FIELD_NUMBER
public static final int LOCATIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESERVED_IP_RANGE_FIELD_NUMBER
public static final int RESERVED_IP_RANGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATUS_MESSAGE_FIELD_NUMBER
public static final int STATUS_MESSAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRUSTS_FIELD_NUMBER
public static final int TRUSTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Domain getDefaultInstance()
Returns |
Type |
Description |
Domain |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Domain.Builder newBuilder()
newBuilder(Domain prototype)
public static Domain.Builder newBuilder(Domain prototype)
Parameter |
Name |
Description |
prototype |
Domain
|
parseDelimitedFrom(InputStream input)
public static Domain parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Domain |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Domain parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Domain |
|
parseFrom(byte[] data)
public static Domain parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Domain |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Domain |
|
parseFrom(ByteString data)
public static Domain parseFrom(ByteString data)
Returns |
Type |
Description |
Domain |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Domain |
|
parseFrom(CodedInputStream input)
public static Domain parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Domain |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Domain |
|
parseFrom(InputStream input)
public static Domain parseFrom(InputStream input)
Returns |
Type |
Description |
Domain |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Domain |
|
parseFrom(ByteBuffer data)
public static Domain parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Domain |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Domain parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Domain |
|
parser()
public static Parser<Domain> parser()
Methods
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 |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
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 |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
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 |
Type |
Description |
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];
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 |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the instance was created.
.google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Domain getDefaultInstanceForType()
Returns |
Type |
Description |
Domain |
|
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for fqdn.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. Resource labels that can contain user-provided metadata.
map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
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];
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];
Returns |
Type |
Description |
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 |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
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 |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
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 |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
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 |
Type |
Description |
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];
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<Domain> getParserForType()
Overrides
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for reservedIpRange.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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];
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Trust |
|
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 |
Type |
Description |
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];
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
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 |
Type |
Description |
Timestamp |
The updateTime.
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time.
.google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 |
Type |
Description |
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 |
Type |
Description |
boolean |
Whether the updateTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Domain.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Domain.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Domain.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides