Class EventImpact.Builder (0.18.0)

public static final class EventImpact.Builder extends GeneratedMessageV3.Builder<EventImpact.Builder> implements EventImpactOrBuilder

Represents the Google Cloud products and locations impacted by the event.

Protobuf type google.cloud.servicehealth.v1.EventImpact

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventImpact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventImpact.Builder
Overrides

build()

public EventImpact build()
Returns
Type Description
EventImpact

buildPartial()

public EventImpact buildPartial()
Returns
Type Description
EventImpact

clear()

public EventImpact.Builder clear()
Returns
Type Description
EventImpact.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EventImpact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EventImpact.Builder
Overrides

clearLocation()

public EventImpact.Builder clearLocation()

Location impacted by the event.

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

Returns
Type Description
EventImpact.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EventImpact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EventImpact.Builder
Overrides

clearProduct()

public EventImpact.Builder clearProduct()

Google Cloud product impacted by the event.

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

Returns
Type Description
EventImpact.Builder

clone()

public EventImpact.Builder clone()
Returns
Type Description
EventImpact.Builder
Overrides

getDefaultInstanceForType()

public EventImpact getDefaultInstanceForType()
Returns
Type Description
EventImpact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLocation()

public Location getLocation()

Location impacted by the event.

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

Returns
Type Description
Location

The location.

getLocationBuilder()

public Location.Builder getLocationBuilder()

Location impacted by the event.

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

Returns
Type Description
Location.Builder

getLocationOrBuilder()

public LocationOrBuilder getLocationOrBuilder()

Location impacted by the event.

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

Returns
Type Description
LocationOrBuilder

getProduct()

public Product getProduct()

Google Cloud product impacted by the event.

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

Returns
Type Description
Product

The product.

getProductBuilder()

public Product.Builder getProductBuilder()

Google Cloud product impacted by the event.

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

Returns
Type Description
Product.Builder

getProductOrBuilder()

public ProductOrBuilder getProductOrBuilder()

Google Cloud product impacted by the event.

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

Returns
Type Description
ProductOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EventImpact other)

public EventImpact.Builder mergeFrom(EventImpact other)
Parameter
Name Description
other EventImpact
Returns
Type Description
EventImpact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventImpact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventImpact.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EventImpact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EventImpact.Builder
Overrides

mergeLocation(Location value)

public EventImpact.Builder mergeLocation(Location value)

Location impacted by the event.

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

Parameter
Name Description
value Location
Returns
Type Description
EventImpact.Builder

mergeProduct(Product value)

public EventImpact.Builder mergeProduct(Product value)

Google Cloud product impacted by the event.

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

Parameter
Name Description
value Product
Returns
Type Description
EventImpact.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventImpact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventImpact.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EventImpact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventImpact.Builder
Overrides

setLocation(Location value)

public EventImpact.Builder setLocation(Location value)

Location impacted by the event.

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

Parameter
Name Description
value Location
Returns
Type Description
EventImpact.Builder

setLocation(Location.Builder builderForValue)

public EventImpact.Builder setLocation(Location.Builder builderForValue)

Location impacted by the event.

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

Parameter
Name Description
builderForValue Location.Builder
Returns
Type Description
EventImpact.Builder

setProduct(Product value)

public EventImpact.Builder setProduct(Product value)

Google Cloud product impacted by the event.

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

Parameter
Name Description
value Product
Returns
Type Description
EventImpact.Builder

setProduct(Product.Builder builderForValue)

public EventImpact.Builder setProduct(Product.Builder builderForValue)

Google Cloud product impacted by the event.

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

Parameter
Name Description
builderForValue Product.Builder
Returns
Type Description
EventImpact.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EventImpact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EventImpact.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EventImpact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventImpact.Builder
Overrides