Class ListOrganizationImpactsResponse (0.4.0)

public final class ListOrganizationImpactsResponse extends GeneratedMessageV3 implements ListOrganizationImpactsResponseOrBuilder

Protobuf type google.cloud.servicehealth.v1.ListOrganizationImpactsResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListOrganizationImpactsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

ORGANIZATION_IMPACTS_FIELD_NUMBER

public static final int ORGANIZATION_IMPACTS_FIELD_NUMBER
Field Value
TypeDescription
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListOrganizationImpactsResponse getDefaultInstance()
Returns
TypeDescription
ListOrganizationImpactsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListOrganizationImpactsResponse.Builder newBuilder()
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

newBuilder(ListOrganizationImpactsResponse prototype)

public static ListOrganizationImpactsResponse.Builder newBuilder(ListOrganizationImpactsResponse prototype)
Parameter
NameDescription
prototypeListOrganizationImpactsResponse
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListOrganizationImpactsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOrganizationImpactsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListOrganizationImpactsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListOrganizationImpactsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListOrganizationImpactsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListOrganizationImpactsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListOrganizationImpactsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOrganizationImpactsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListOrganizationImpactsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListOrganizationImpactsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListOrganizationImpactsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListOrganizationImpactsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListOrganizationImpactsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListOrganizationImpactsResponse> parser()
Returns
TypeDescription
Parser<ListOrganizationImpactsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListOrganizationImpactsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOrganizationImpactsResponse

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

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>

getParserForType()

public Parser<ListOrganizationImpactsResponse> getParserForType()
Returns
TypeDescription
Parser<ListOrganizationImpactsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListOrganizationImpactsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListOrganizationImpactsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListOrganizationImpactsResponse.Builder toBuilder()
Returns
TypeDescription
ListOrganizationImpactsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException