Class ListOrganizationImpactsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListOrganizationImpactsResponse.Builder>
com.google.cloud.servicehealth.v1.ListOrganizationImpactsResponse.Builder
- All Implemented Interfaces:
ListOrganizationImpactsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListOrganizationImpactsResponse
public static final class ListOrganizationImpactsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListOrganizationImpactsResponse.Builder>
implements ListOrganizationImpactsResponseOrBuilder
Response to request for listing projects under an organization affected by an event.Protobuf type
google.cloud.servicehealth.v1.ListOrganizationImpactsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllOrganizationImpacts(Iterable<? extends OrganizationImpact> values) Output only.addAllUnreachable(Iterable<String> values) Output only.addOrganizationImpacts(int index, OrganizationImpact value) Output only.addOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue) Output only.Output only.addOrganizationImpacts(OrganizationImpact.Builder builderForValue) Output only.Output only.addOrganizationImpactsBuilder(int index) Output only.addUnreachable(String value) Output only.addUnreachableBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getOrganizationImpacts(int index) Output only.getOrganizationImpactsBuilder(int index) Output only.Output only.intOutput only.Output only.getOrganizationImpactsOrBuilder(int index) Output only.List<? extends OrganizationImpactOrBuilder>Output only.getUnreachable(int index) Output only.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOrganizationImpacts(int index) Output only.setNextPageToken(String value) Output only.setNextPageTokenBytes(com.google.protobuf.ByteString value) Output only.setOrganizationImpacts(int index, OrganizationImpact value) Output only.setOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue) Output only.setUnreachable(int index, String value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListOrganizationImpactsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListOrganizationImpactsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListOrganizationImpactsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListOrganizationImpactsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListOrganizationImpactsResponse.Builder>
-
mergeFrom
public ListOrganizationImpactsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListOrganizationImpactsResponse.Builder>- Throws:
IOException
-
getOrganizationImpactsList
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationImpactsListin interfaceListOrganizationImpactsResponseOrBuilder
-
getOrganizationImpactsCount
public int getOrganizationImpactsCount()Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationImpactsCountin interfaceListOrganizationImpactsResponseOrBuilder
-
getOrganizationImpacts
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationImpactsin interfaceListOrganizationImpactsResponseOrBuilder
-
setOrganizationImpacts
public ListOrganizationImpactsResponse.Builder setOrganizationImpacts(int index, OrganizationImpact value) Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setOrganizationImpacts
public ListOrganizationImpactsResponse.Builder setOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue) Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationImpacts
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationImpacts
public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(int index, OrganizationImpact value) Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationImpacts
public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(OrganizationImpact.Builder builderForValue) Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationImpacts
public ListOrganizationImpactsResponse.Builder addOrganizationImpacts(int index, OrganizationImpact.Builder builderForValue) Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllOrganizationImpacts
public ListOrganizationImpactsResponse.Builder addAllOrganizationImpacts(Iterable<? extends OrganizationImpact> values) Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearOrganizationImpacts
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeOrganizationImpacts
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOrganizationImpactsBuilder
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOrganizationImpactsOrBuilder
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationImpactsOrBuilderin interfaceListOrganizationImpactsResponseOrBuilder
-
getOrganizationImpactsOrBuilderList
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationImpactsOrBuilderListin interfaceListOrganizationImpactsResponseOrBuilder
-
addOrganizationImpactsBuilder
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationImpactsBuilder
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOrganizationImpactsBuilderList
Output only. List of [impacts](/service-health/docs/reference/rest/v1beta/organizations.locations.organizationImpacts#OrganizationImpact) for an organization affected by service health events.
repeated .google.cloud.servicehealth.v1.OrganizationImpact organization_impacts = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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];- Specified by:
getNextPageTokenin interfaceListOrganizationImpactsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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];- Specified by:
getNextPageTokenBytesin interfaceListOrganizationImpactsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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];- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListOrganizationImpactsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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];- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachableListin interfaceListOrganizationImpactsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachableCountin interfaceListOrganizationImpactsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachablein interfaceListOrganizationImpactsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUnreachableBytesin interfaceListOrganizationImpactsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListOrganizationImpactsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) Output only. Locations that could not be reached.
repeated string unreachable = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-