java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Site.Builder>
com.google.cloud.gdchardwaremanagement.v1alpha.Site.Builder
All Implemented Interfaces:
SiteOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Site

public static final class Site.Builder extends com.google.protobuf.GeneratedMessage.Builder<Site.Builder> implements SiteOrBuilder
 A physical site where hardware will be installed.
 
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Site
  • 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<Site.Builder>
    • internalGetMutableMapFieldReflection

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

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

      public Site.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<Site.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<Site.Builder>
    • getDefaultInstanceForType

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

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

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

      public Site.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<Site.Builder>
    • mergeFrom

      public Site.Builder mergeFrom(Site other)
    • isInitialized

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

      public Site.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<Site.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Identifier. Name of the site.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface SiteOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the site.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface SiteOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Site.Builder setName(String value)
       Identifier. Name of the site.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Site.Builder clearName()
       Identifier. Name of the site.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Site.Builder setNameBytes(com.google.protobuf.ByteString value)
       Identifier. Name of the site.
       Format: `projects/{project}/locations/{location}/sites/{site}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Optional. Display name of this Site.
       
      string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayName in interface SiteOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Display name of this Site.
       
      string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDisplayNameBytes in interface SiteOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public Site.Builder setDisplayName(String value)
       Optional. Display name of this Site.
       
      string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public Site.Builder clearDisplayName()
       Optional. Display name of this Site.
       
      string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public Site.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Optional. Display name of this Site.
       
      string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Optional. Description of this Site.
       
      string description = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescription in interface SiteOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of this Site.
       
      string description = 25 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDescriptionBytes in interface SiteOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Site.Builder setDescription(String value)
       Optional. Description of this Site.
       
      string description = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Site.Builder clearDescription()
       Optional. Description of this Site.
       
      string description = 25 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Site.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Optional. Description of this Site.
       
      string description = 25 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface SiteOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface SiteOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Site.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Site.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Site.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Site.Builder clearCreateTime()
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Time when this site was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface SiteOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface SiteOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface SiteOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Site.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Site.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Site.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Site.Builder clearUpdateTime()
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Time when this site was last updated.
       
      .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface SiteOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: SiteOrBuilder
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsCount in interface SiteOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      containsLabels in interface SiteOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface SiteOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsMap in interface SiteOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrDefault in interface SiteOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLabelsOrThrow in interface SiteOrBuilder
    • clearLabels

      public Site.Builder clearLabels()
    • removeLabels

      public Site.Builder removeLabels(String key)
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Site.Builder putLabels(String key, String value)
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • putAllLabels

      public Site.Builder putAllLabels(Map<String,String> values)
       Optional. Labels associated with this site as key value pairs.
       For more information about labels, see [Create and manage
       labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
       
      map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];
    • hasOrganizationContact

      public boolean hasOrganizationContact()
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasOrganizationContact in interface SiteOrBuilder
      Returns:
      Whether the organizationContact field is set.
    • getOrganizationContact

      public OrganizationContact getOrganizationContact()
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOrganizationContact in interface SiteOrBuilder
      Returns:
      The organizationContact.
    • setOrganizationContact

      public Site.Builder setOrganizationContact(OrganizationContact value)
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
    • setOrganizationContact

      public Site.Builder setOrganizationContact(OrganizationContact.Builder builderForValue)
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
    • mergeOrganizationContact

      public Site.Builder mergeOrganizationContact(OrganizationContact value)
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
    • clearOrganizationContact

      public Site.Builder clearOrganizationContact()
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
    • getOrganizationContactBuilder

      public OrganizationContact.Builder getOrganizationContactBuilder()
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
    • getOrganizationContactOrBuilder

      public OrganizationContactOrBuilder getOrganizationContactOrBuilder()
       Required. Contact information for this site.
       
      .google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOrganizationContactOrBuilder in interface SiteOrBuilder
    • getGoogleMapsPinUri

      public String getGoogleMapsPinUri()
       Optional. A URL to the Google Maps address location of the site.
       An example value is `https://goo.gl/maps/xxxxxxxxx`.
       
      string google_maps_pin_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleMapsPinUri in interface SiteOrBuilder
      Returns:
      The googleMapsPinUri.
    • getGoogleMapsPinUriBytes

      public com.google.protobuf.ByteString getGoogleMapsPinUriBytes()
       Optional. A URL to the Google Maps address location of the site.
       An example value is `https://goo.gl/maps/xxxxxxxxx`.
       
      string google_maps_pin_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGoogleMapsPinUriBytes in interface SiteOrBuilder
      Returns:
      The bytes for googleMapsPinUri.
    • setGoogleMapsPinUri

      public Site.Builder setGoogleMapsPinUri(String value)
       Optional. A URL to the Google Maps address location of the site.
       An example value is `https://goo.gl/maps/xxxxxxxxx`.
       
      string google_maps_pin_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The googleMapsPinUri to set.
      Returns:
      This builder for chaining.
    • clearGoogleMapsPinUri

      public Site.Builder clearGoogleMapsPinUri()
       Optional. A URL to the Google Maps address location of the site.
       An example value is `https://goo.gl/maps/xxxxxxxxx`.
       
      string google_maps_pin_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setGoogleMapsPinUriBytes

      public Site.Builder setGoogleMapsPinUriBytes(com.google.protobuf.ByteString value)
       Optional. A URL to the Google Maps address location of the site.
       An example value is `https://goo.gl/maps/xxxxxxxxx`.
       
      string google_maps_pin_uri = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for googleMapsPinUri to set.
      Returns:
      This builder for chaining.
    • getAccessTimesList

      public List<TimePeriod> getAccessTimesList()
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessTimesList in interface SiteOrBuilder
    • getAccessTimesCount

      public int getAccessTimesCount()
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessTimesCount in interface SiteOrBuilder
    • getAccessTimes

      public TimePeriod getAccessTimes(int index)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessTimes in interface SiteOrBuilder
    • setAccessTimes

      public Site.Builder setAccessTimes(int index, TimePeriod value)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • setAccessTimes

      public Site.Builder setAccessTimes(int index, TimePeriod.Builder builderForValue)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAccessTimes

      public Site.Builder addAccessTimes(TimePeriod value)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAccessTimes

      public Site.Builder addAccessTimes(int index, TimePeriod value)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAccessTimes

      public Site.Builder addAccessTimes(TimePeriod.Builder builderForValue)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAccessTimes

      public Site.Builder addAccessTimes(int index, TimePeriod.Builder builderForValue)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAllAccessTimes

      public Site.Builder addAllAccessTimes(Iterable<? extends TimePeriod> values)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • clearAccessTimes

      public Site.Builder clearAccessTimes()
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • removeAccessTimes

      public Site.Builder removeAccessTimes(int index)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getAccessTimesBuilder

      public TimePeriod.Builder getAccessTimesBuilder(int index)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getAccessTimesOrBuilder

      public TimePeriodOrBuilder getAccessTimesOrBuilder(int index)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessTimesOrBuilder in interface SiteOrBuilder
    • getAccessTimesOrBuilderList

      public List<? extends TimePeriodOrBuilder> getAccessTimesOrBuilderList()
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccessTimesOrBuilderList in interface SiteOrBuilder
    • addAccessTimesBuilder

      public TimePeriod.Builder addAccessTimesBuilder()
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • addAccessTimesBuilder

      public TimePeriod.Builder addAccessTimesBuilder(int index)
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getAccessTimesBuilderList

      public List<TimePeriod.Builder> getAccessTimesBuilderList()
       Optional. The time periods when the site is accessible.
       If this field is empty, the site is accessible at all times.
      
       This field is used by Google to schedule the initial installation as well
       as any later hardware maintenance. You may update this at any time. For
       example, if the initial installation is requested during off-hours but
       maintenance should be performed during regular business hours, you should
       update the access times after initial installation is complete.
       
      repeated .google.cloud.gdchardwaremanagement.v1alpha.TimePeriod access_times = 26 [(.google.api.field_behavior) = OPTIONAL];
    • getNotes

      public String getNotes()
       Optional. Any additional notes for this Site. Please include information
       about:
       - security or access restrictions
       - any regulations affecting the technicians visiting the site
       - any special process or approval required to move the equipment
       - whether a representative will be available during site visits
       
      string notes = 27 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotes in interface SiteOrBuilder
      Returns:
      The notes.
    • getNotesBytes

      public com.google.protobuf.ByteString getNotesBytes()
       Optional. Any additional notes for this Site. Please include information
       about:
       - security or access restrictions
       - any regulations affecting the technicians visiting the site
       - any special process or approval required to move the equipment
       - whether a representative will be available during site visits
       
      string notes = 27 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNotesBytes in interface SiteOrBuilder
      Returns:
      The bytes for notes.
    • setNotes

      public Site.Builder setNotes(String value)
       Optional. Any additional notes for this Site. Please include information
       about:
       - security or access restrictions
       - any regulations affecting the technicians visiting the site
       - any special process or approval required to move the equipment
       - whether a representative will be available during site visits
       
      string notes = 27 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The notes to set.
      Returns:
      This builder for chaining.
    • clearNotes

      public Site.Builder clearNotes()
       Optional. Any additional notes for this Site. Please include information
       about:
       - security or access restrictions
       - any regulations affecting the technicians visiting the site
       - any special process or approval required to move the equipment
       - whether a representative will be available during site visits
       
      string notes = 27 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNotesBytes

      public Site.Builder setNotesBytes(com.google.protobuf.ByteString value)
       Optional. Any additional notes for this Site. Please include information
       about:
       - security or access restrictions
       - any regulations affecting the technicians visiting the site
       - any special process or approval required to move the equipment
       - whether a representative will be available during site visits
       
      string notes = 27 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for notes to set.
      Returns:
      This builder for chaining.
    • getCustomerSiteId

      public String getCustomerSiteId()
       Optional. Customer defined identifier for this Site. This can be used to
       identify the site in the customer's own systems.
       
      string customer_site_id = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomerSiteId in interface SiteOrBuilder
      Returns:
      The customerSiteId.
    • getCustomerSiteIdBytes

      public com.google.protobuf.ByteString getCustomerSiteIdBytes()
       Optional. Customer defined identifier for this Site. This can be used to
       identify the site in the customer's own systems.
       
      string customer_site_id = 28 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCustomerSiteIdBytes in interface SiteOrBuilder
      Returns:
      The bytes for customerSiteId.
    • setCustomerSiteId

      public Site.Builder setCustomerSiteId(String value)
       Optional. Customer defined identifier for this Site. This can be used to
       identify the site in the customer's own systems.
       
      string customer_site_id = 28 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The customerSiteId to set.
      Returns:
      This builder for chaining.
    • clearCustomerSiteId

      public Site.Builder clearCustomerSiteId()
       Optional. Customer defined identifier for this Site. This can be used to
       identify the site in the customer's own systems.
       
      string customer_site_id = 28 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCustomerSiteIdBytes

      public Site.Builder setCustomerSiteIdBytes(com.google.protobuf.ByteString value)
       Optional. Customer defined identifier for this Site. This can be used to
       identify the site in the customer's own systems.
       
      string customer_site_id = 28 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for customerSiteId to set.
      Returns:
      This builder for chaining.