Interface ResourceInfoOrBuilder (0.44.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
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. Unique Id for the resource.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ResourceInfo

getSubCount()

public abstract int getSubCount()

List of Info for the sub level resources.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

hasResource()

public abstract boolean hasResource()

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

.google.protobuf.Any resource = 3;

Returns
Type Description
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
Type Description
boolean

Whether the time field is set.