Package namespace.cloud.compute.v1beta
Class Compute.ListInstanceNotificationsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Compute.ListInstanceNotificationsRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstanceNotificationsRequest.Builder>
namespace.cloud.compute.v1beta.Compute.ListInstanceNotificationsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Compute.ListInstanceNotificationsRequestOrBuilder
- Enclosing class:
Compute.ListInstanceNotificationsRequest
public static final class Compute.ListInstanceNotificationsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Compute.ListInstanceNotificationsRequest.Builder>
implements Compute.ListInstanceNotificationsRequestOrBuilder
Protobuf type
namespace.cloud.compute.v1beta.ListInstanceNotificationsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional filter to match instance IDs.The maximum number of events to return.If set to true, only pending events that have not yet been delivered are returned.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional filter to match instance IDs.Optional filter to match instance IDs.Optional filter to match instance IDs.longgetLimit()The maximum number of events to return.booleanIf set to true, only pending events that have not yet been delivered are returned.booleanOptional filter to match instance IDs.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional filter to match instance IDs.Optional filter to match instance IDs.setInstanceIds(Matchers.StringMatcher.Builder builderForValue) Optional filter to match instance IDs.setLimit(long value) The maximum number of events to return.setOnlyPendingEvents(boolean value) If set to true, only pending events that have not yet been delivered are returned.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<Compute.ListInstanceNotificationsRequest.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<Compute.ListInstanceNotificationsRequest.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<Compute.ListInstanceNotificationsRequest.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
public Compute.ListInstanceNotificationsRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Compute.ListInstanceNotificationsRequest.Builder>
-
mergeFrom
public Compute.ListInstanceNotificationsRequest.Builder mergeFrom(Compute.ListInstanceNotificationsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Compute.ListInstanceNotificationsRequest.Builder>
-
mergeFrom
public Compute.ListInstanceNotificationsRequest.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<Compute.ListInstanceNotificationsRequest.Builder>- Throws:
IOException
-
hasInstanceIds
public boolean hasInstanceIds()Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1;- Specified by:
hasInstanceIdsin interfaceCompute.ListInstanceNotificationsRequestOrBuilder- Returns:
- Whether the instanceIds field is set.
-
getInstanceIds
Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1;- Specified by:
getInstanceIdsin interfaceCompute.ListInstanceNotificationsRequestOrBuilder- Returns:
- The instanceIds.
-
setInstanceIds
public Compute.ListInstanceNotificationsRequest.Builder setInstanceIds(Matchers.StringMatcher value) Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1; -
setInstanceIds
public Compute.ListInstanceNotificationsRequest.Builder setInstanceIds(Matchers.StringMatcher.Builder builderForValue) Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1; -
mergeInstanceIds
public Compute.ListInstanceNotificationsRequest.Builder mergeInstanceIds(Matchers.StringMatcher value) Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1; -
clearInstanceIds
Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1; -
getInstanceIdsBuilder
Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1; -
getInstanceIdsOrBuilder
Optional filter to match instance IDs. If not set, returns events for all instances.
.namespace.stdlib.StringMatcher instance_ids = 1;- Specified by:
getInstanceIdsOrBuilderin interfaceCompute.ListInstanceNotificationsRequestOrBuilder
-
getLimit
public long getLimit()The maximum number of events to return. The list of events returned is always capped to an internal number.
int64 limit = 2;- Specified by:
getLimitin interfaceCompute.ListInstanceNotificationsRequestOrBuilder- Returns:
- The limit.
-
setLimit
The maximum number of events to return. The list of events returned is always capped to an internal number.
int64 limit = 2;- Parameters:
value- The limit to set.- Returns:
- This builder for chaining.
-
clearLimit
The maximum number of events to return. The list of events returned is always capped to an internal number.
int64 limit = 2;- Returns:
- This builder for chaining.
-
getOnlyPendingEvents
public boolean getOnlyPendingEvents()If set to true, only pending events that have not yet been delivered are returned.
bool only_pending_events = 3;- Specified by:
getOnlyPendingEventsin interfaceCompute.ListInstanceNotificationsRequestOrBuilder- Returns:
- The onlyPendingEvents.
-
setOnlyPendingEvents
If set to true, only pending events that have not yet been delivered are returned.
bool only_pending_events = 3;- Parameters:
value- The onlyPendingEvents to set.- Returns:
- This builder for chaining.
-
clearOnlyPendingEvents
If set to true, only pending events that have not yet been delivered are returned.
bool only_pending_events = 3;- Returns:
- This builder for chaining.
-