Interface HostOrBuilder (1.109.0)

public interface HostOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

public abstract String getAliasLinks(int index)

Output only. All aliases for this resource. e.g. projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1

repeated string alias_links = 296963338;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The aliasLinks at the given index.

getAliasLinksBytes(int index)

public abstract ByteString getAliasLinksBytes(int index)

Output only. All aliases for this resource. e.g. projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1

repeated string alias_links = 296963338;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the aliasLinks at the given index.

getAliasLinksCount()

public abstract int getAliasLinksCount()

Output only. All aliases for this resource. e.g. projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1

repeated string alias_links = 296963338;

Returns
Type Description
int

The count of aliasLinks.

public abstract List<String> getAliasLinksList()

Output only. All aliases for this resource. e.g. projects/123/zones/us-centra1-a/reservation/r1/reservationBlock/b1/hosts/h1

repeated string alias_links = 296963338;

Returns
Type Description
List<String>

A list containing the aliasLinks.

getCreationTimestamp()

public abstract String getCreationTimestamp()

Output only. The creation timestamp, formatted asRFC3339 text.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

Output only. The creation timestamp, formatted asRFC3339 text.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract String getDescription()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getId()

public abstract long getId()

Output only. The unique identifier for this resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public abstract String getKind()

Output only. The type of resource. Alwayscompute#host for hosts.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

Output only. The type of resource. Alwayscompute#host for hosts.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public abstract String getName()

Output only. The name of the host.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the host.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

public abstract String getSelfLink()

Output only. The self link of the host.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

Output only. The self link of the host.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public abstract String getSelfLinkWithId()

Output only. The self link with id of the host.

optional string self_link_with_id = 44520962;

Returns
Type Description
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public abstract ByteString getSelfLinkWithIdBytes()

Output only. The self link with id of the host.

optional string self_link_with_id = 44520962;

Returns
Type Description
ByteString

The bytes for selfLinkWithId.

getState()

public abstract String getState()

Output only. The state of the host. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
String

The state.

getStateBytes()

public abstract ByteString getStateBytes()

Output only. The state of the host. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
ByteString

The bytes for state.

getStatus()

public abstract HostStatus getStatus()

Output only. The status of the host

optional .google.cloud.compute.v1.HostStatus status = 181260274;

Returns
Type Description
HostStatus

The status.

getStatusOrBuilder()

public abstract HostStatusOrBuilder getStatusOrBuilder()

Output only. The status of the host

optional .google.cloud.compute.v1.HostStatus status = 181260274;

Returns
Type Description
HostStatusOrBuilder

getZone()

public abstract String getZone()

Output only. The zone in which the host resides.

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Output only. The zone in which the host resides.

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

Output only. The creation timestamp, formatted asRFC3339 text.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasId()

public abstract boolean hasId()

Output only. The unique identifier for this resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

Output only. The type of resource. Alwayscompute#host for hosts.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasName()

public abstract boolean hasName()

Output only. The name of the host.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

public abstract boolean hasSelfLink()

Output only. The self link of the host.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public abstract boolean hasSelfLinkWithId()

Output only. The self link with id of the host.

optional string self_link_with_id = 44520962;

Returns
Type Description
boolean

Whether the selfLinkWithId field is set.

hasState()

public abstract boolean hasState()

Output only. The state of the host. Check the State enum for the list of possible values.

optional string state = 109757585;

Returns
Type Description
boolean

Whether the state field is set.

hasStatus()

public abstract boolean hasStatus()

Output only. The status of the host

optional .google.cloud.compute.v1.HostStatus status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

hasZone()

public abstract boolean hasZone()

Output only. The zone in which the host resides.

optional string zone = 3744684;

Returns
Type Description
boolean

Whether the zone field is set.