Class ListOrganizationImpactsResponse.Builder (0.7.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.servicehealth.v1.OrganizationImpact>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueOrganizationImpact
Returns
TypeDescription
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
NameDescription
builderForValueOrganizationImpact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueOrganizationImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueOrganizationImpact.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
OrganizationImpact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListOrganizationImpactsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

This builder for chaining.

build()

public ListOrganizationImpactsResponse build()
Returns
TypeDescription
ListOrganizationImpactsResponse

buildPartial()

public ListOrganizationImpactsResponse buildPartial()
Returns
TypeDescription
ListOrganizationImpactsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListOrganizationImpactsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListOrganizationImpactsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListOrganizationImpactsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListOrganizationImpactsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListOrganizationImpactsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOrganizationImpactsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListOrganizationImpactsResponse other)

public ListOrganizationImpactsResponse.Builder mergeFrom(ListOrganizationImpactsResponse other)
Parameter
NameDescription
otherListOrganizationImpactsResponse
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ListOrganizationImpactsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOrganizationImpactsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListOrganizationImpactsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueOrganizationImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueOrganizationImpact.Builder
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListOrganizationImpactsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

This builder for chaining.