public final class EventImpact extends GeneratedMessageV3 implements EventImpactOrBuilder
Represents the Google Cloud products and locations impacted by the event.
Protobuf type google.cloud.servicehealth.v1.EventImpact
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EventImpactImplements
EventImpactOrBuilderStatic Fields
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRODUCT_FIELD_NUMBER
public static final int PRODUCT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static EventImpact getDefaultInstance()
Returns | |
---|---|
Type | Description |
EventImpact |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static EventImpact.Builder newBuilder()
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
newBuilder(EventImpact prototype)
public static EventImpact.Builder newBuilder(EventImpact prototype)
Parameter | |
---|---|
Name | Description |
prototype | EventImpact |
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
parseDelimitedFrom(InputStream input)
public static EventImpact parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EventImpact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static EventImpact parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventImpact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static EventImpact parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventImpact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static EventImpact parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EventImpact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static EventImpact parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EventImpact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static EventImpact parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventImpact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventImpact |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<EventImpact> parser()
Returns | |
---|---|
Type | Description |
Parser<EventImpact> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public EventImpact getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EventImpact |
getLocation()
public Location getLocation()
Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
Returns | |
---|---|
Type | Description |
Location | The location. |
getLocationOrBuilder()
public LocationOrBuilder getLocationOrBuilder()
Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
Returns | |
---|---|
Type | Description |
LocationOrBuilder |
getParserForType()
public Parser<EventImpact> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<EventImpact> |
getProduct()
public Product getProduct()
Google Cloud product impacted by the event.
.google.cloud.servicehealth.v1.Product product = 1;
Returns | |
---|---|
Type | Description |
Product | The product. |
getProductOrBuilder()
public ProductOrBuilder getProductOrBuilder()
Google Cloud product impacted by the event.
.google.cloud.servicehealth.v1.Product product = 1;
Returns | |
---|---|
Type | Description |
ProductOrBuilder |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hasLocation()
public boolean hasLocation()
Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
Returns | |
---|---|
Type | Description |
boolean | Whether the location field is set. |
hasProduct()
public boolean hasProduct()
Google Cloud product impacted by the event.
.google.cloud.servicehealth.v1.Product product = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the product field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public EventImpact.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventImpact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public EventImpact.Builder toBuilder()
Returns | |
---|---|
Type | Description |
EventImpact.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |