/** * * * <pre> * The app profile to be created. * Fields marked `OutputOnly` will be ignored. * </pre> * * <code>.google.bigtable.admin.v2.AppProfile app_profile = 3;</code> */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { if (value == null) { throw new NullPointerException(); } appProfile_ = value; onChanged(); } else { appProfileBuilder_.setMessage(value); } return this; } /**
/** * * * <pre> * The ID to be used when referring to the new app profile within its * instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * </pre> * * <code>string app_profile_id = 2;</code> */ public Builder setAppProfileIdBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); appProfileId_ = value; onChanged(); return this; }
/** * * * <pre> * The ID to be used when referring to the new app profile within its * instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * </pre> * * <code>string app_profile_id = 2;</code> */ public Builder setAppProfileId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } appProfileId_ = value; onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the new app profile. * Values are of the form * `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; onChanged(); return this; }
/** * * * <pre> * The ID to be used when referring to the new app profile within its * instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * </pre> * * <code>string app_profile_id = 2;</code> */ public Builder clearAppProfileId() { appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the new app profile. * Values are of the form * `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * If true, ignore safety checks when creating the app profile. * </pre> * * <code>bool ignore_warnings = 4;</code> */ public Builder setIgnoreWarnings(boolean value) { ignoreWarnings_ = value; onChanged(); return this; } /**
/** * * * <pre> * The app profile to be created. * Fields marked `OutputOnly` will be ignored. * </pre> * * <code>.google.bigtable.admin.v2.AppProfile app_profile = 3;</code> */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { onChanged(); return getAppProfileFieldBuilder().getBuilder(); } /**
/** * * * <pre> * If true, ignore safety checks when creating the app profile. * </pre> * * <code>bool ignore_warnings = 4;</code> */ public Builder clearIgnoreWarnings() { ignoreWarnings_ = false; onChanged(); return this; }
/** * * * <pre> * The app profile to be created. * Fields marked `OutputOnly` will be ignored. * </pre> * * <code>.google.bigtable.admin.v2.AppProfile app_profile = 3;</code> */ public Builder mergeAppProfile(com.google.bigtable.admin.v2.AppProfile value) { if (appProfileBuilder_ == null) { if (appProfile_ != null) { appProfile_ = com.google.bigtable.admin.v2.AppProfile.newBuilder(appProfile_) .mergeFrom(value) .buildPartial(); } else { appProfile_ = value; } onChanged(); } else { appProfileBuilder_.mergeFrom(value); } return this; } /**
/** * * * <pre> * The app profile to be created. * Fields marked `OutputOnly` will be ignored. * </pre> * * <code>.google.bigtable.admin.v2.AppProfile app_profile = 3;</code> */ public Builder clearAppProfile() { if (appProfileBuilder_ == null) { appProfile_ = null; onChanged(); } else { appProfile_ = null; appProfileBuilder_ = null; } return this; } /**
/** * * * <pre> * The app profile to be created. * Fields marked `OutputOnly` will be ignored. * </pre> * * <code>.google.bigtable.admin.v2.AppProfile app_profile = 3;</code> */ public Builder setAppProfile(com.google.bigtable.admin.v2.AppProfile.Builder builderForValue) { if (appProfileBuilder_ == null) { appProfile_ = builderForValue.build(); onChanged(); } else { appProfileBuilder_.setMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the new app profile. * Values are of the form * `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; onChanged(); return this; }
/** * * * <pre> * The unique name of the instance in which to create the new app profile. * Values are of the form * `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder setParent(java.lang.String value) { if (value == null) { throw new NullPointerException(); } parent_ = value; onChanged(); return this; } /**
public Builder mergeFrom(com.google.bigtable.admin.v2.CreateAppProfileRequest other) { if (other == com.google.bigtable.admin.v2.CreateAppProfileRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } if (!other.getAppProfileId().isEmpty()) { appProfileId_ = other.appProfileId_; onChanged(); } if (other.hasAppProfile()) { mergeAppProfile(other.getAppProfile()); } if (other.getIgnoreWarnings() != false) { setIgnoreWarnings(other.getIgnoreWarnings()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * * * <pre> * The ID to be used when referring to the new app profile within its * instance, e.g., just `myprofile` rather than * `projects/myproject/instances/myinstance/appProfiles/myprofile`. * </pre> * * <code>string app_profile_id = 2;</code> */ public Builder clearAppProfileId() { appProfileId_ = getDefaultInstance().getAppProfileId(); onChanged(); return this; } /**
/** * * * <pre> * The unique name of the instance in which to create the new app profile. * Values are of the form * `projects/<project>/instances/<instance>`. * </pre> * * <code>string parent = 1;</code> */ public Builder clearParent() { parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /**
/** * * * <pre> * If true, ignore safety checks when creating the app profile. * </pre> * * <code>bool ignore_warnings = 4;</code> */ public Builder setIgnoreWarnings(boolean value) { ignoreWarnings_ = value; onChanged(); return this; } /**
/** * * * <pre> * The app profile to be created. * Fields marked `OutputOnly` will be ignored. * </pre> * * <code>.google.bigtable.admin.v2.AppProfile app_profile = 3;</code> */ public com.google.bigtable.admin.v2.AppProfile.Builder getAppProfileBuilder() { onChanged(); return getAppProfileFieldBuilder().getBuilder(); } /**
/** * * * <pre> * If true, ignore safety checks when creating the app profile. * </pre> * * <code>bool ignore_warnings = 4;</code> */ public Builder clearIgnoreWarnings() { ignoreWarnings_ = false; onChanged(); return this; }