Class EventImpact.Builder (0.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventImpact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventImpact.Builder
Overrides

build()

public EventImpact build()
Returns
TypeDescription
EventImpact

buildPartial()

public EventImpact buildPartial()
Returns
TypeDescription
EventImpact

clear()

public EventImpact.Builder clear()
Returns
TypeDescription
EventImpact.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EventImpact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventImpact.Builder
Overrides

clearLocation()

public EventImpact.Builder clearLocation()

Location impacted by the event.

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

Returns
TypeDescription
EventImpact.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public EventImpact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EventImpact.Builder
Overrides

clearProduct()

public EventImpact.Builder clearProduct()

Google Cloud product impacted by the event.

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

Returns
TypeDescription
EventImpact.Builder

clone()

public EventImpact.Builder clone()
Returns
TypeDescription
EventImpact.Builder
Overrides

getDefaultInstanceForType()

public EventImpact getDefaultInstanceForType()
Returns
TypeDescription
EventImpact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocation()

public Location getLocation()

Location impacted by the event.

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

Returns
TypeDescription
Location

The location.

getLocationBuilder()

public Location.Builder getLocationBuilder()

Location impacted by the event.

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

Returns
TypeDescription
Location.Builder

getLocationOrBuilder()

public LocationOrBuilder getLocationOrBuilder()

Location impacted by the event.

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

Returns
TypeDescription
LocationOrBuilder

getProduct()

public Product getProduct()

Google Cloud product impacted by the event.

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

Returns
TypeDescription
Product

The product.

getProductBuilder()

public Product.Builder getProductBuilder()

Google Cloud product impacted by the event.

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

Returns
TypeDescription
Product.Builder

getProductOrBuilder()

public ProductOrBuilder getProductOrBuilder()

Google Cloud product impacted by the event.

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

Returns
TypeDescription
ProductOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EventImpact other)

public EventImpact.Builder mergeFrom(EventImpact other)
Parameter
NameDescription
otherEventImpact
Returns
TypeDescription
EventImpact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventImpact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventImpact.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EventImpact.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueLocation
Returns
TypeDescription
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
NameDescription
valueProduct
Returns
TypeDescription
EventImpact.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventImpact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventImpact.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public EventImpact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueLocation
Returns
TypeDescription
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
NameDescription
builderForValueLocation.Builder
Returns
TypeDescription
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
NameDescription
valueProduct
Returns
TypeDescription
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
NameDescription
builderForValueProduct.Builder
Returns
TypeDescription
EventImpact.Builder

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

public EventImpact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EventImpact.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EventImpact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventImpact.Builder
Overrides