public static final class EventImpact.Builder extends GeneratedMessage.Builder<EventImpact.Builder> implements EventImpactOrBuilderRepresents the Google Cloud products and locations impacted by the event.
Protobuf type google.cloud.servicehealth.v1.EventImpact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > EventImpact.BuilderImplements
EventImpactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearLocation()
public EventImpact.Builder clearLocation()Location impacted by the event.
.google.cloud.servicehealth.v1.Location location = 2;
| Returns | |
|---|---|
| Type | Description |
EventImpact.Builder |
|
clearProduct()
public EventImpact.Builder clearProduct()Google Cloud product impacted by the event.
.google.cloud.servicehealth.v1.Product product = 1;
| Returns | |
|---|---|
| Type | Description |
EventImpact.Builder |
|
getDefaultInstanceForType()
public EventImpact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
EventImpact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EventImpact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EventImpact.Builder |
|
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 |
|
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 |
|