Interface ResourceInfoOrBuilder (0.2.0)

public interface ResourceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract String getId()

Required. Unique Id for the resource.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. Unique Id for the resource.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for id.

getResource()

public abstract Any getResource()

Specific details for the resource. This is for internal use only.

.google.protobuf.Any resource = 3;

Returns
TypeDescription
Any

The resource.

getResourceOrBuilder()

public abstract AnyOrBuilder getResourceOrBuilder()

Specific details for the resource. This is for internal use only.

.google.protobuf.Any resource = 3;

Returns
TypeDescription
AnyOrBuilder

getStatus()

public abstract HealthStatus getStatus()

Overall health status. Overall status is derived based on the status of each sub level resources.

.google.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;

Returns
TypeDescription
HealthStatus

The status.

getStatusValue()

public abstract int getStatusValue()

Overall health status. Overall status is derived based on the status of each sub level resources.

.google.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getSub(int index)

public abstract ResourceInfo getSub(int index)

List of Info for the sub level resources.

repeated .google.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourceInfo

getSubCount()

public abstract int getSubCount()

List of Info for the sub level resources.

repeated .google.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;

Returns
TypeDescription
int

getSubList()

public abstract List<ResourceInfo> getSubList()

List of Info for the sub level resources.

repeated .google.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;

Returns
TypeDescription
List<ResourceInfo>

getSubOrBuilder(int index)

public abstract ResourceInfoOrBuilder getSubOrBuilder(int index)

List of Info for the sub level resources.

repeated .google.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourceInfoOrBuilder

getSubOrBuilderList()

public abstract List<? extends ResourceInfoOrBuilder> getSubOrBuilderList()

List of Info for the sub level resources.

repeated .google.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;

Returns
TypeDescription
List<? extends com.google.cloud.beyondcorp.appconnectors.v1.ResourceInfoOrBuilder>

getTime()

public abstract Timestamp getTime()

The timestamp to collect the info. It is suggested to be set by the topmost level resource only.

.google.protobuf.Timestamp time = 4;

Returns
TypeDescription
Timestamp

The time.

getTimeOrBuilder()

public abstract TimestampOrBuilder getTimeOrBuilder()

The timestamp to collect the info. It is suggested to be set by the topmost level resource only.

.google.protobuf.Timestamp time = 4;

Returns
TypeDescription
TimestampOrBuilder

hasResource()

public abstract boolean hasResource()

Specific details for the resource. This is for internal use only.

.google.protobuf.Any resource = 3;

Returns
TypeDescription
boolean

Whether the resource field is set.

hasTime()

public abstract boolean hasTime()

The timestamp to collect the info. It is suggested to be set by the topmost level resource only.

.google.protobuf.Timestamp time = 4;

Returns
TypeDescription
boolean

Whether the time field is set.