public final class RiskRecommendation extends GeneratedMessage implements RiskRecommendationOrBuilderRecommendation for mitigating a reliability risk, including a reference URL.
Protobuf type google.cloud.compute.v1.RiskRecommendation
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > RiskRecommendationImplements
RiskRecommendationOrBuilderStatic Fields
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
REFERENCE_URL_FIELD_NUMBER
public static final int REFERENCE_URL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static RiskRecommendation getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static RiskRecommendation.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
RiskRecommendation.Builder |
|
newBuilder(RiskRecommendation prototype)
public static RiskRecommendation.Builder newBuilder(RiskRecommendation prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
RiskRecommendation |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation.Builder |
|
parseDelimitedFrom(InputStream input)
public static RiskRecommendation parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RiskRecommendation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static RiskRecommendation parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RiskRecommendation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static RiskRecommendation parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskRecommendation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static RiskRecommendation parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RiskRecommendation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static RiskRecommendation parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RiskRecommendation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static RiskRecommendation parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RiskRecommendation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<RiskRecommendation> parser()| Returns | |
|---|---|
| Type | Description |
Parser<RiskRecommendation> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContent()
public String getContent()Mitigation guide for the risk.
optional string content = 414659705;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public ByteString getContentBytes()Mitigation guide for the risk.
optional string content = 414659705;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getDefaultInstanceForType()
public RiskRecommendation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RiskRecommendation |
|
getParserForType()
public Parser<RiskRecommendation> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<RiskRecommendation> |
|
getReferenceUrl()
public String getReferenceUrl()URL referencing a more detailed mitigation guide.
optional string reference_url = 527537787;
| Returns | |
|---|---|
| Type | Description |
String |
The referenceUrl. |
getReferenceUrlBytes()
public ByteString getReferenceUrlBytes()URL referencing a more detailed mitigation guide.
optional string reference_url = 527537787;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for referenceUrl. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasContent()
public boolean hasContent()Mitigation guide for the risk.
optional string content = 414659705;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the content field is set. |
hasReferenceUrl()
public boolean hasReferenceUrl()URL referencing a more detailed mitigation guide.
optional string reference_url = 527537787;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the referenceUrl field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public RiskRecommendation.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
RiskRecommendation.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RiskRecommendation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
RiskRecommendation.Builder |
|
toBuilder()
public RiskRecommendation.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
RiskRecommendation.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|