Interface SiteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Site,Site.Builder
@Generated
public interface SiteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.getAccessTimes(int index) Optional.intOptional.Optional.getAccessTimesOrBuilder(int index) Optional.List<? extends TimePeriodOrBuilder>Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.getNotes()Optional.com.google.protobuf.ByteStringOptional.Required.Required.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. Name of the site. Format: `projects/{project}/locations/{location}/sites/{site}`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Optional. Display name of this Site.
string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Optional. Display name of this Site.
string display_name = 24 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getDescription
String getDescription()Optional. Description of this Site.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of this Site.
string description = 25 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when this site was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Time when this site was last updated.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
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];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
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]; -
getLabelsCount
int getLabelsCount()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]; -
containsLabels
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]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
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]; -
getLabelsOrDefault
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]; -
getLabelsOrThrow
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
boolean hasOrganizationContact()Required. Contact information for this site.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the organizationContact field is set.
-
getOrganizationContact
OrganizationContact getOrganizationContact()Required. Contact information for this site.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The organizationContact.
-
getOrganizationContactOrBuilder
OrganizationContactOrBuilder getOrganizationContactOrBuilder()Required. Contact information for this site.
.google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact organization_contact = 5 [(.google.api.field_behavior) = REQUIRED]; -
getGoogleMapsPinUri
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];- Returns:
- The googleMapsPinUri.
-
getGoogleMapsPinUriBytes
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];- Returns:
- The bytes for googleMapsPinUri.
-
getAccessTimesList
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]; -
getAccessTimes
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]; -
getAccessTimesCount
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]; -
getAccessTimesOrBuilderList
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]; -
getAccessTimesOrBuilder
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
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];- Returns:
- The notes.
-
getNotesBytes
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];- Returns:
- The bytes for notes.
-
getCustomerSiteId
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];- Returns:
- The customerSiteId.
-
getCustomerSiteIdBytes
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];- Returns:
- The bytes for customerSiteId.
-