public static final class ResourceInfo.Builder extends GeneratedMessageV3.Builder<ResourceInfo.Builder> implements ResourceInfoOrBuilderResourceInfo represents the information/status of an app connector resource. Such as:
- remote_agent
- container
- runtime
- appgateway
- appconnector
- appconnection
- tunnel
- appconnection
- logagent
- appconnector
- container
Protobuf type google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceInfo.BuilderImplements
ResourceInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSub(Iterable<? extends ResourceInfo> values)
public ResourceInfo.Builder addAllSub(Iterable<? extends ResourceInfo> values)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo> |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addSub(ResourceInfo value)
public ResourceInfo.Builder addSub(ResourceInfo value)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
ResourceInfo |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addSub(ResourceInfo.Builder builderForValue)
public ResourceInfo.Builder addSub(ResourceInfo.Builder builderForValue)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ResourceInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addSub(int index, ResourceInfo value)
public ResourceInfo.Builder addSub(int index, ResourceInfo value)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ResourceInfo |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addSub(int index, ResourceInfo.Builder builderForValue)
public ResourceInfo.Builder addSub(int index, ResourceInfo.Builder builderForValue)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ResourceInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addSubBuilder()
public ResourceInfo.Builder addSubBuilder()List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
addSubBuilder(int index)
public ResourceInfo.Builder addSubBuilder(int index)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
build()
public ResourceInfo build()| Returns | |
|---|---|
| Type | Description |
ResourceInfo |
|
buildPartial()
public ResourceInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
ResourceInfo |
|
clear()
public ResourceInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ResourceInfo.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
clearId()
public ResourceInfo.Builder clearId()Required. Unique Id for the resource.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
clearStatus()
public ResourceInfo.Builder clearStatus()Overall health status. Overall status is derived based on the status of each sub level resources.
.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
This builder for chaining. |
clearSub()
public ResourceInfo.Builder clearSub()List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
clearTime()
public ResourceInfo.Builder clearTime()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 |
ResourceInfo.Builder |
|
clone()
public ResourceInfo.Builder clone()| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
getDefaultInstanceForType()
public ResourceInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ResourceInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId()Required. Unique Id for the resource.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes()Required. Unique Id for the resource.
string id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getStatus()
public HealthStatus getStatus()Overall health status. Overall status is derived based on the status of each sub level resources.
.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;
| Returns | |
|---|---|
| Type | Description |
HealthStatus |
The status. |
getStatusValue()
public int getStatusValue()Overall health status. Overall status is derived based on the status of each sub level resources.
.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
getSub(int index)
public ResourceInfo getSub(int index)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo |
|
getSubBuilder(int index)
public ResourceInfo.Builder getSubBuilder(int index)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
getSubBuilderList()
public List<ResourceInfo.Builder> getSubBuilderList()List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSubCount()
public int getSubCount()List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getSubList()
public List<ResourceInfo> getSubList()List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Returns | |
|---|---|
| Type | Description |
List<ResourceInfo> |
|
getSubOrBuilder(int index)
public ResourceInfoOrBuilder getSubOrBuilder(int index)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceInfoOrBuilder |
|
getSubOrBuilderList()
public List<? extends ResourceInfoOrBuilder> getSubOrBuilderList()List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfoOrBuilder> |
|
getTime()
public 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. |
getTimeBuilder()
public Timestamp.Builder getTimeBuilder()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 |
Builder |
|
getTimeOrBuilder()
public 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 |
|
hasTime()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ResourceInfo other)
public ResourceInfo.Builder mergeFrom(ResourceInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
ResourceInfo |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ResourceInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
mergeTime(Timestamp value)
public ResourceInfo.Builder mergeTime(Timestamp value)The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
.google.protobuf.Timestamp time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
removeSub(int index)
public ResourceInfo.Builder removeSub(int index)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setId(String value)
public ResourceInfo.Builder setId(String value)Required. Unique Id for the resource.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public ResourceInfo.Builder setIdBytes(ByteString value)Required. Unique Id for the resource.
string id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setStatus(HealthStatus value)
public ResourceInfo.Builder setStatus(HealthStatus value)Overall health status. Overall status is derived based on the status of each sub level resources.
.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
HealthStatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
This builder for chaining. |
setStatusValue(int value)
public ResourceInfo.Builder setStatusValue(int value)Overall health status. Overall status is derived based on the status of each sub level resources.
.google.events.cloud.beyondcorp.appconnectors.v1.HealthStatus status = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
This builder for chaining. |
setSub(int index, ResourceInfo value)
public ResourceInfo.Builder setSub(int index, ResourceInfo value)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ResourceInfo |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setSub(int index, ResourceInfo.Builder builderForValue)
public ResourceInfo.Builder setSub(int index, ResourceInfo.Builder builderForValue)List of Info for the sub level resources.
repeated .google.events.cloud.beyondcorp.appconnectors.v1.ResourceInfo sub = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ResourceInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setTime(Timestamp value)
public ResourceInfo.Builder setTime(Timestamp value)The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
.google.protobuf.Timestamp time = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setTime(Timestamp.Builder builderForValue)
public ResourceInfo.Builder setTime(Timestamp.Builder builderForValue)The timestamp to collect the info. It is suggested to be set by the topmost level resource only.
.google.protobuf.Timestamp time = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ResourceInfo.Builder |
|