/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder clearGroup() { if (groupBuilder_ == null) { group_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { groupBuilder_.clear(); } return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder setGroup(int index, com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupIsMutable(); group_.set(index, value); onChanged(); } else { groupBuilder_.setMessage(index, value); } return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addGroup(int index, com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupIsMutable(); group_.add(index, value); onChanged(); } else { groupBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>optional string next_page_token = 2;</code> */ public Builder setNextPageToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /**
/** * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addGroup( int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(index, builderForValue.build()); onChanged(); } else { groupBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder clearGroup() { if (groupBuilder_ == null) { group_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { groupBuilder_.clear(); } return this; } /**
/** * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addGroup( com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(builderForValue.build()); onChanged(); } else { groupBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder setGroup( int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.set(index, builderForValue.build()); onChanged(); } else { groupBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder removeGroup(int index) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.remove(index); onChanged(); } else { groupBuilder_.remove(index); } return this; } /**
/** * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>optional string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addGroup(com.google.monitoring.v3.Group value) { if (groupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGroupIsMutable(); group_.add(value); onChanged(); } else { groupBuilder_.addMessage(value); } return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addAllGroup( java.lang.Iterable<? extends com.google.monitoring.v3.Group> values) { if (groupBuilder_ == null) { ensureGroupIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, group_); onChanged(); } else { groupBuilder_.addAllMessages(values); } return this; } /**
/** * * * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; onChanged(); return this; }
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addGroup(int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(index, builderForValue.build()); onChanged(); } else { groupBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder addGroup(com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.add(builderForValue.build()); onChanged(); } else { groupBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder setNextPageToken(java.lang.String value) { if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; onChanged(); return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder removeGroup(int index) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.remove(index); onChanged(); } else { groupBuilder_.remove(index); } return this; } /**
/** * * * <pre> * The groups that match the specified filters. * </pre> * * <code>repeated .google.monitoring.v3.Group group = 1;</code> */ public Builder setGroup(int index, com.google.monitoring.v3.Group.Builder builderForValue) { if (groupBuilder_ == null) { ensureGroupIsMutable(); group_.set(index, builderForValue.build()); onChanged(); } else { groupBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * If there are more results than have been returned, then this field is set * to a non-empty value. To see the additional results, * use that value as `pageToken` in the next call to this method. * </pre> * * <code>string next_page_token = 2;</code> */ public Builder clearNextPageToken() { nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /**