Class Domain.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<Domain.Builder> implements DomainOrBuilder
 Represents a managed Microsoft Active Directory domain.
 
Protobuf type google.cloud.managedidentities.v1.Domain
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Domain.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Domain.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Domain.Builder>
    • clear

      public Domain.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Domain.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Domain.Builder>
    • getDefaultInstanceForType

      public Domain getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Domain build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Domain buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Domain.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Domain.Builder>
    • mergeFrom

      public Domain.Builder mergeFrom(Domain other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Domain.Builder>
    • mergeFrom

      public Domain.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getName in interface DomainOrBuilder
      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:
      getNameBytes in interface DomainOrBuilder
      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: DomainOrBuilder
       Optional. Resource labels that can contain user-provided metadata.
       
      map<string, string> labels = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface DomainOrBuilder
    • 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:
      containsLabels in interface DomainOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface DomainOrBuilder
    • 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:
      getLabelsMap in interface DomainOrBuilder
    • 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:
      getLabelsOrDefault in interface DomainOrBuilder
    • 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:
      getLabelsOrThrow in interface DomainOrBuilder
    • 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:
      getAuthorizedNetworksList in interface DomainOrBuilder
      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:
      getAuthorizedNetworksCount in interface DomainOrBuilder
      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:
      getAuthorizedNetworks in interface DomainOrBuilder
      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:
      getAuthorizedNetworksBytes in interface DomainOrBuilder
      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:
      getReservedIpRange in interface DomainOrBuilder
      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:
      getReservedIpRangeBytes in interface DomainOrBuilder
      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:
      getLocationsList in interface DomainOrBuilder
      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:
      getLocationsCount in interface DomainOrBuilder
      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:
      getLocations in interface DomainOrBuilder
      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:
      getLocationsBytes in interface DomainOrBuilder
      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:
      getAdmin in interface DomainOrBuilder
      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:
      getAdminBytes in interface DomainOrBuilder
      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:
      getFqdn in interface DomainOrBuilder
      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:
      getFqdnBytes in interface DomainOrBuilder
      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:
      hasCreateTime in interface DomainOrBuilder
      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:
      getCreateTime in interface DomainOrBuilder
      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:
      getCreateTimeOrBuilder in interface DomainOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The last update time.
       
      .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface DomainOrBuilder
      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:
      getUpdateTime in interface DomainOrBuilder
      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:
      getUpdateTimeOrBuilder in interface DomainOrBuilder
    • 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:
      getStateValue in interface DomainOrBuilder
      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:
      getState in interface DomainOrBuilder
      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:
      getStatusMessage in interface DomainOrBuilder
      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:
      getStatusMessageBytes in interface DomainOrBuilder
      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:
      getTrustsList in interface DomainOrBuilder
    • 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:
      getTrustsCount in interface DomainOrBuilder
    • 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:
      getTrusts in interface DomainOrBuilder
    • 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:
      getTrustsOrBuilder in interface DomainOrBuilder
    • 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:
      getTrustsOrBuilderList in interface DomainOrBuilder
    • 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];