Interface CreateSiteRequestOrBuilder (0.2.0)

public interface CreateSiteRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The project and location to create the site in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project and location to create the site in. Format: projects/{project}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. An optional unique identifier for this request. See AIP-155.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. An optional unique identifier for this request. See AIP-155.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

getSite()

public abstract Site getSite()

Required. The site to create.

.google.cloud.gdchardwaremanagement.v1alpha.Site site = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Site

The site.

getSiteId()

public abstract String getSiteId()

Optional. ID used to uniquely identify the Site within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The site.name field in the request will be ignored.

string site_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The siteId.

getSiteIdBytes()

public abstract ByteString getSiteIdBytes()

Optional. ID used to uniquely identify the Site within its parent scope. This field should contain at most 63 characters and must start with lowercase characters. Only lowercase characters, numbers and - are accepted. The - character cannot be the first or the last one. A system generated ID will be used if the field is not set.

The site.name field in the request will be ignored.

string site_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for siteId.

getSiteOrBuilder()

public abstract SiteOrBuilder getSiteOrBuilder()

Required. The site to create.

.google.cloud.gdchardwaremanagement.v1alpha.Site site = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SiteOrBuilder

hasSite()

public abstract boolean hasSite()

Required. The site to create.

.google.cloud.gdchardwaremanagement.v1alpha.Site site = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the site field is set.