Class ListOrganizationEventsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListOrganizationEventsResponse.Builder>
com.google.cloud.servicehealth.v1.ListOrganizationEventsResponse.Builder
- All Implemented Interfaces:
ListOrganizationEventsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListOrganizationEventsResponse
public static final class ListOrganizationEventsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListOrganizationEventsResponse.Builder>
implements ListOrganizationEventsResponseOrBuilder
Response to request for listing organization events.Protobuf type
google.cloud.servicehealth.v1.ListOrganizationEventsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllOrganizationEvents(Iterable<? extends OrganizationEvent> values) Output only.addAllUnreachable(Iterable<String> values) Output only.addOrganizationEvents(int index, OrganizationEvent value) Output only.addOrganizationEvents(int index, OrganizationEvent.Builder builderForValue) Output only.Output only.addOrganizationEvents(OrganizationEvent.Builder builderForValue) Output only.Output only.addOrganizationEventsBuilder(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.getOrganizationEvents(int index) Output only.getOrganizationEventsBuilder(int index) Output only.Output only.intOutput only.Output only.getOrganizationEventsOrBuilder(int index) Output only.List<? extends OrganizationEventOrBuilder>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) removeOrganizationEvents(int index) Output only.setNextPageToken(String value) Output only.setNextPageTokenBytes(com.google.protobuf.ByteString value) Output only.setOrganizationEvents(int index, OrganizationEvent value) Output only.setOrganizationEvents(int index, OrganizationEvent.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<ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListOrganizationEventsResponse.Builder>
-
mergeFrom
public ListOrganizationEventsResponse.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<ListOrganizationEventsResponse.Builder>- Throws:
IOException
-
getOrganizationEventsList
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationEventsListin interfaceListOrganizationEventsResponseOrBuilder
-
getOrganizationEventsCount
public int getOrganizationEventsCount()Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationEventsCountin interfaceListOrganizationEventsResponseOrBuilder
-
getOrganizationEvents
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationEventsin interfaceListOrganizationEventsResponseOrBuilder
-
setOrganizationEvents
public ListOrganizationEventsResponse.Builder setOrganizationEvents(int index, OrganizationEvent value) Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setOrganizationEvents
public ListOrganizationEventsResponse.Builder setOrganizationEvents(int index, OrganizationEvent.Builder builderForValue) Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationEvents
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationEvents
public ListOrganizationEventsResponse.Builder addOrganizationEvents(int index, OrganizationEvent value) Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationEvents
public ListOrganizationEventsResponse.Builder addOrganizationEvents(OrganizationEvent.Builder builderForValue) Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationEvents
public ListOrganizationEventsResponse.Builder addOrganizationEvents(int index, OrganizationEvent.Builder builderForValue) Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllOrganizationEvents
public ListOrganizationEventsResponse.Builder addAllOrganizationEvents(Iterable<? extends OrganizationEvent> values) Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearOrganizationEvents
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeOrganizationEvents
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOrganizationEventsBuilder
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOrganizationEventsOrBuilder
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationEventsOrBuilderin interfaceListOrganizationEventsResponseOrBuilder
-
getOrganizationEventsOrBuilderList
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOrganizationEventsOrBuilderListin interfaceListOrganizationEventsResponseOrBuilder
-
addOrganizationEventsBuilder
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addOrganizationEventsBuilder
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getOrganizationEventsBuilderList
Output only. List of organization events affecting an organization.
repeated .google.cloud.servicehealth.v1.OrganizationEvent organization_events = 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 interfaceListOrganizationEventsResponseOrBuilder- 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 interfaceListOrganizationEventsResponseOrBuilder- 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 ListOrganizationEventsResponse.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 interfaceListOrganizationEventsResponseOrBuilder- 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 interfaceListOrganizationEventsResponseOrBuilder- 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 interfaceListOrganizationEventsResponseOrBuilder- 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 interfaceListOrganizationEventsResponseOrBuilder- 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 ListOrganizationEventsResponse.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.
-