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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventImpact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EventImpact build()
buildPartial()
public EventImpact buildPartial()
clear()
public EventImpact.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public EventImpact.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocation()
public EventImpact.Builder clearLocation()
Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public EventImpact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProduct()
public EventImpact.Builder clearProduct()
Google Cloud product impacted by the event.
.google.cloud.servicehealth.v1.Product product = 1;
clone()
public EventImpact.Builder clone()
Overrides
getDefaultInstanceForType()
public EventImpact getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getLocationOrBuilder()
public LocationOrBuilder getLocationOrBuilder()
Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
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;
getProductOrBuilder()
public ProductOrBuilder getProductOrBuilder()
Google Cloud product impacted by the event.
.google.cloud.servicehealth.v1.Product product = 1;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EventImpact other)
public EventImpact.Builder mergeFrom(EventImpact other)
public EventImpact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventImpact.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventImpact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public EventImpact.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
setLocation(Location.Builder builderForValue)
public EventImpact.Builder setLocation(Location.Builder builderForValue)
Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
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
|
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventImpact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EventImpact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides