public static final class ContainerHealthDetails.Builder extends GeneratedMessage.Builder<ContainerHealthDetails.Builder> implements ContainerHealthDetailsOrBuilderContainerHealthDetails reflects the health details of a container.
Protobuf type google.cloud.beyondcorp.appconnectors.v1.ContainerHealthDetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ContainerHealthDetails.BuilderImplements
ContainerHealthDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ContainerHealthDetails build()| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails |
|
buildPartial()
public ContainerHealthDetails buildPartial()| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails |
|
clear()
public ContainerHealthDetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
clearCurrentConfigVersion()
public ContainerHealthDetails.Builder clearCurrentConfigVersion()The version of the current config.
string current_config_version = 2;
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
clearErrorMsg()
public ContainerHealthDetails.Builder clearErrorMsg()The latest error message.
string error_msg = 4;
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
clearExpectedConfigVersion()
public ContainerHealthDetails.Builder clearExpectedConfigVersion()The version of the expected config.
string expected_config_version = 1;
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
clearExtendedStatus()
public ContainerHealthDetails.Builder clearExtendedStatus()| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
containsExtendedStatus(String key)
public boolean containsExtendedStatus(String key)The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCurrentConfigVersion()
public String getCurrentConfigVersion()The version of the current config.
string current_config_version = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The currentConfigVersion. |
getCurrentConfigVersionBytes()
public ByteString getCurrentConfigVersionBytes()The version of the current config.
string current_config_version = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for currentConfigVersion. |
getDefaultInstanceForType()
public ContainerHealthDetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorMsg()
public String getErrorMsg()The latest error message.
string error_msg = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The errorMsg. |
getErrorMsgBytes()
public ByteString getErrorMsgBytes()The latest error message.
string error_msg = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMsg. |
getExpectedConfigVersion()
public String getExpectedConfigVersion()The version of the expected config.
string expected_config_version = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The expectedConfigVersion. |
getExpectedConfigVersionBytes()
public ByteString getExpectedConfigVersionBytes()The version of the expected config.
string expected_config_version = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for expectedConfigVersion. |
getExtendedStatus() (deprecated)
public Map<String,String> getExtendedStatus()Use #getExtendedStatusMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getExtendedStatusCount()
public int getExtendedStatusCount()The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getExtendedStatusMap()
public Map<String,String> getExtendedStatusMap()The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getExtendedStatusOrDefault(String key, String defaultValue)
public String getExtendedStatusOrDefault(String key, String defaultValue)The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getExtendedStatusOrThrow(String key)
public String getExtendedStatusOrThrow(String key)The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMutableExtendedStatus() (deprecated)
public Map<String,String> getMutableExtendedStatus()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ContainerHealthDetails other)
public ContainerHealthDetails.Builder mergeFrom(ContainerHealthDetails other)| Parameter | |
|---|---|
| Name | Description |
other |
ContainerHealthDetails |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContainerHealthDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ContainerHealthDetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
putAllExtendedStatus(Map<String,String> values)
public ContainerHealthDetails.Builder putAllExtendedStatus(Map<String,String> values)The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
putExtendedStatus(String key, String value)
public ContainerHealthDetails.Builder putExtendedStatus(String key, String value)The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
removeExtendedStatus(String key)
public ContainerHealthDetails.Builder removeExtendedStatus(String key)The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
map<string, string> extended_status = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
|
setCurrentConfigVersion(String value)
public ContainerHealthDetails.Builder setCurrentConfigVersion(String value)The version of the current config.
string current_config_version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe currentConfigVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
setCurrentConfigVersionBytes(ByteString value)
public ContainerHealthDetails.Builder setCurrentConfigVersionBytes(ByteString value)The version of the current config.
string current_config_version = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for currentConfigVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
setErrorMsg(String value)
public ContainerHealthDetails.Builder setErrorMsg(String value)The latest error message.
string error_msg = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe errorMsg to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
setErrorMsgBytes(ByteString value)
public ContainerHealthDetails.Builder setErrorMsgBytes(ByteString value)The latest error message.
string error_msg = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for errorMsg to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
setExpectedConfigVersion(String value)
public ContainerHealthDetails.Builder setExpectedConfigVersion(String value)The version of the expected config.
string expected_config_version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe expectedConfigVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |
setExpectedConfigVersionBytes(ByteString value)
public ContainerHealthDetails.Builder setExpectedConfigVersionBytes(ByteString value)The version of the expected config.
string expected_config_version = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for expectedConfigVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerHealthDetails.Builder |
This builder for chaining. |