Class EventImpact (0.7.0)

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

Static Fields

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCT_FIELD_NUMBER

public static final int PRODUCT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EventImpact getDefaultInstance()
Returns
TypeDescription
EventImpact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static EventImpact.Builder newBuilder()
Returns
TypeDescription
EventImpact.Builder

newBuilder(EventImpact prototype)

public static EventImpact.Builder newBuilder(EventImpact prototype)
Parameter
NameDescription
prototypeEventImpact
Returns
TypeDescription
EventImpact.Builder

parseDelimitedFrom(InputStream input)

public static EventImpact parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventImpact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EventImpact parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EventImpact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EventImpact parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EventImpact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EventImpact parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EventImpact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EventImpact parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventImpact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EventImpact parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EventImpact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EventImpact> parser()
Returns
TypeDescription
Parser<EventImpact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public EventImpact getDefaultInstanceForType()
Returns
TypeDescription
EventImpact

getLocation()

public Location getLocation()

Location impacted by the event.

.google.cloud.servicehealth.v1.Location location = 2;

Returns
TypeDescription
Location

The location.

getLocationOrBuilder()

public LocationOrBuilder getLocationOrBuilder()

Location impacted by the event.

.google.cloud.servicehealth.v1.Location location = 2;

Returns
TypeDescription
LocationOrBuilder

getParserForType()

public Parser<EventImpact> getParserForType()
Returns
TypeDescription
Parser<EventImpact>
Overrides

getProduct()

public Product getProduct()

Google Cloud product impacted by the event.

.google.cloud.servicehealth.v1.Product product = 1;

Returns
TypeDescription
Product

The product.

getProductOrBuilder()

public ProductOrBuilder getProductOrBuilder()

Google Cloud product impacted by the event.

.google.cloud.servicehealth.v1.Product product = 1;

Returns
TypeDescription
ProductOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasLocation()

public boolean hasLocation()

Location impacted by the event.

.google.cloud.servicehealth.v1.Location location = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the product field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EventImpact.Builder newBuilderForType()
Returns
TypeDescription
EventImpact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EventImpact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EventImpact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EventImpact.Builder toBuilder()
Returns
TypeDescription
EventImpact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException