Class ListOrganizationImpactsResponse.Builder (0.16.0)

public static final class ListOrganizationImpactsResponse.Builder extends GeneratedMessageV3.Builder<ListOrganizationImpactsResponse.Builder> implements ListOrganizationImpactsResponseOrBuilder

Protobuf type google.cloud.servicehealth.v1.ListOrganizationImpactsResponse

Static Methods

getDescriptor()

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

Methods

addAllOrganizationImpacts(Iterable<? extends OrganizationImpact> values)

public ListOrganizationImpactsResponse.Builder addAllOrganizationImpacts(Iterable<? extends OrganizationImpact> values)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.servicehealth.v1.OrganizationImpact>
Returns
Type Description
ListOrganizationImpactsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListOrganizationImpactsResponse.Builder addAllUnreachable(Iterable<String> values)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

addOrganizationImpacts(OrganizationImpact value)

public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(OrganizationImpact value)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value OrganizationImpact
Returns
Type Description
ListOrganizationImpactsResponse.Builder

addOrganizationImpacts(OrganizationImpact.Builder builderForValue)

public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(OrganizationImpact.Builder builderForValue)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue OrganizationImpact.Builder
Returns
Type Description
ListOrganizationImpactsResponse.Builder

addOrganizationImpacts(int index, OrganizationImpact value)

public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(int index, OrganizationImpact value)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value OrganizationImpact
Returns
Type Description
ListOrganizationImpactsResponse.Builder

addOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue)

public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue OrganizationImpact.Builder
Returns
Type Description
ListOrganizationImpactsResponse.Builder

addOrganizationImpactsBuilder()

public OrganizationImpact.Builder addOrganizationImpactsBuilder()

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OrganizationImpact.Builder

addOrganizationImpactsBuilder(int index)

public OrganizationImpact.Builder addOrganizationImpactsBuilder(int index)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
OrganizationImpact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListOrganizationImpactsResponse.Builder addUnreachable(String value)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListOrganizationImpactsResponse.Builder addUnreachableBytes(ByteString value)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

build()

public ListOrganizationImpactsResponse build()
Returns
Type Description
ListOrganizationImpactsResponse

buildPartial()

public ListOrganizationImpactsResponse buildPartial()
Returns
Type Description
ListOrganizationImpactsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListOrganizationImpactsResponse.Builder clearNextPageToken()

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrganizationImpacts()

public ListOrganizationImpactsResponse.Builder clearOrganizationImpacts()

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListOrganizationImpactsResponse.Builder

clearUnreachable()

public ListOrganizationImpactsResponse.Builder clearUnreachable()

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListOrganizationImpactsResponse getDefaultInstanceForType()
Returns
Type Description
ListOrganizationImpactsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getOrganizationImpacts(int index)

public OrganizationImpact getOrganizationImpacts(int index)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
OrganizationImpact

getOrganizationImpactsBuilder(int index)

public OrganizationImpact.Builder getOrganizationImpactsBuilder(int index)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
OrganizationImpact.Builder

getOrganizationImpactsBuilderList()

public List<OrganizationImpact.Builder> getOrganizationImpactsBuilderList()

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getOrganizationImpactsCount()

public int getOrganizationImpactsCount()

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getOrganizationImpactsList()

public List<OrganizationImpact> getOrganizationImpactsList()

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<OrganizationImpact>

getOrganizationImpactsOrBuilder(int index)

public OrganizationImpactOrBuilder getOrganizationImpactsOrBuilder(int index)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
OrganizationImpactOrBuilder

getOrganizationImpactsOrBuilderList()

public List<? extends OrganizationImpactOrBuilder> getOrganizationImpactsOrBuilderList()

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.servicehealth.v1.OrganizationImpactOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOrganizationImpactsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOrganizationImpacts(int index)

public ListOrganizationImpactsResponse.Builder removeOrganizationImpacts(int index)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ListOrganizationImpactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListOrganizationImpactsResponse.Builder setNextPageToken(String value)

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOrganizationImpactsResponse.Builder setNextPageTokenBytes(ByteString value)

Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token to retrieve the next page.

If this field is not present, there are no subsequent results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.

setOrganizationImpacts(int index, OrganizationImpact value)

public ListOrganizationImpactsResponse.Builder setOrganizationImpacts(int index, OrganizationImpact value)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value OrganizationImpact
Returns
Type Description
ListOrganizationImpactsResponse.Builder

setOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue)

public ListOrganizationImpactsResponse.Builder setOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue)

Output only. List of impacts for an organization affected by service health events.

repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue OrganizationImpact.Builder
Returns
Type Description
ListOrganizationImpactsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListOrganizationImpactsResponse.Builder setUnreachable(int index, String value)

Output only. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListOrganizationImpactsResponse.Builder

This builder for chaining.