value
*/
public Builder clearReservedIpRanges() {
reservedIpRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -2337,7 +2412,7 @@ public Builder addReservedIpRangesBytes(com.google.protobuf.ByteString value) {
* @return Whether the baseOutputDirectory field is set.
*/
public boolean hasBaseOutputDirectory() {
- return baseOutputDirectoryBuilder_ != null || baseOutputDirectory_ != null;
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -2404,11 +2479,11 @@ public Builder setBaseOutputDirectory(com.google.cloud.aiplatform.v1.GcsDestinat
throw new NullPointerException();
}
baseOutputDirectory_ = value;
- onChanged();
} else {
baseOutputDirectoryBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2439,11 +2514,11 @@ public Builder setBaseOutputDirectory(
com.google.cloud.aiplatform.v1.GcsDestination.Builder builderForValue) {
if (baseOutputDirectoryBuilder_ == null) {
baseOutputDirectory_ = builderForValue.build();
- onChanged();
} else {
baseOutputDirectoryBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2472,19 +2547,19 @@ public Builder setBaseOutputDirectory(
*/
public Builder mergeBaseOutputDirectory(com.google.cloud.aiplatform.v1.GcsDestination value) {
if (baseOutputDirectoryBuilder_ == null) {
- if (baseOutputDirectory_ != null) {
- baseOutputDirectory_ =
- com.google.cloud.aiplatform.v1.GcsDestination.newBuilder(baseOutputDirectory_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000020) != 0)
+ && baseOutputDirectory_ != null
+ && baseOutputDirectory_
+ != com.google.cloud.aiplatform.v1.GcsDestination.getDefaultInstance()) {
+ getBaseOutputDirectoryBuilder().mergeFrom(value);
} else {
baseOutputDirectory_ = value;
}
- onChanged();
} else {
baseOutputDirectoryBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2512,14 +2587,13 @@ public Builder mergeBaseOutputDirectory(com.google.cloud.aiplatform.v1.GcsDestin
* .google.cloud.aiplatform.v1.GcsDestination base_output_directory = 6;
*/
public Builder clearBaseOutputDirectory() {
- if (baseOutputDirectoryBuilder_ == null) {
- baseOutputDirectory_ = null;
- onChanged();
- } else {
- baseOutputDirectory_ = null;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ baseOutputDirectory_ = null;
+ if (baseOutputDirectoryBuilder_ != null) {
+ baseOutputDirectoryBuilder_.dispose();
baseOutputDirectoryBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2547,7 +2621,7 @@ public Builder clearBaseOutputDirectory() {
* .google.cloud.aiplatform.v1.GcsDestination base_output_directory = 6;
*/
public com.google.cloud.aiplatform.v1.GcsDestination.Builder getBaseOutputDirectoryBuilder() {
-
+ bitField0_ |= 0x00000020;
onChanged();
return getBaseOutputDirectoryFieldBuilder().getBuilder();
}
@@ -2702,8 +2776,8 @@ public Builder setTensorboard(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
tensorboard_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2724,8 +2798,8 @@ public Builder setTensorboard(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearTensorboard() {
-
tensorboard_ = getDefaultInstance().getTensorboard();
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@@ -2751,8 +2825,8 @@ public Builder setTensorboardBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
tensorboard_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2806,6 +2880,7 @@ public boolean getEnableWebAccess() {
public Builder setEnableWebAccess(boolean value) {
enableWebAccess_ = value;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2830,12 +2905,89 @@ public Builder setEnableWebAccess(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEnableWebAccess() {
-
+ bitField0_ = (bitField0_ & ~0x00000080);
enableWebAccess_ = false;
onChanged();
return this;
}
+ private boolean enableDashboardAccess_;
+ /**
+ *
+ *
+ *
+ * Optional. Whether you want Vertex AI to enable access to the customized
+ * dashboard in training chief container.
+ * If set to `true`, you can access the dashboard at the URIs given
+ * by
+ * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris]
+ * or
+ * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris]
+ * (within
+ * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]).
+ *
+ *
+ * bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableDashboardAccess.
+ */
+ @java.lang.Override
+ public boolean getEnableDashboardAccess() {
+ return enableDashboardAccess_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Whether you want Vertex AI to enable access to the customized
+ * dashboard in training chief container.
+ * If set to `true`, you can access the dashboard at the URIs given
+ * by
+ * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris]
+ * or
+ * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris]
+ * (within
+ * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]).
+ *
+ *
+ * bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The enableDashboardAccess to set.
+ * @return This builder for chaining.
+ */
+ public Builder setEnableDashboardAccess(boolean value) {
+
+ enableDashboardAccess_ = value;
+ bitField0_ |= 0x00000100;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Whether you want Vertex AI to enable access to the customized
+ * dashboard in training chief container.
+ * If set to `true`, you can access the dashboard at the URIs given
+ * by
+ * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris]
+ * or
+ * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris]
+ * (within
+ * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]).
+ *
+ *
+ * bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearEnableDashboardAccess() {
+ bitField0_ = (bitField0_ & ~0x00000100);
+ enableDashboardAccess_ = false;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpecOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpecOrBuilder.java
index 161ec4dfbdef..2cde8243cfc2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpecOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/CustomJobSpecOrBuilder.java
@@ -419,4 +419,25 @@ public interface CustomJobSpecOrBuilder
* @return The enableWebAccess.
*/
boolean getEnableWebAccess();
+
+ /**
+ *
+ *
+ *
+ * Optional. Whether you want Vertex AI to enable access to the customized
+ * dashboard in training chief container.
+ * If set to `true`, you can access the dashboard at the URIs given
+ * by
+ * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris]
+ * or
+ * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris]
+ * (within
+ * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]).
+ *
+ *
+ * bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The enableDashboardAccess.
+ */
+ boolean getEnableDashboardAccess();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItem.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItem.java
index 2eb4497863ee..535d827352f9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItem.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItem.java
@@ -81,7 +81,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -175,7 +177,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 6;
@@ -224,7 +226,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int LABELS_FIELD_NUMBER = 3;
@@ -240,6 +242,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -321,7 +324,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -409,11 +415,13 @@ public com.google.protobuf.Value getPayload() {
*/
@java.lang.Override
public com.google.protobuf.ValueOrBuilder getPayloadOrBuilder() {
- return getPayload();
+ return payload_ == null ? com.google.protobuf.Value.getDefaultInstance() : payload_;
}
public static final int ETAG_FIELD_NUMBER = 7;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -748,29 +756,25 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
internalGetMutableLabels().clear();
- if (payloadBuilder_ == null) {
- payload_ = null;
- } else {
- payload_ = null;
+ payload_ = null;
+ if (payloadBuilder_ != null) {
+ payloadBuilder_.dispose();
payloadBuilder_ = null;
}
etag_ = "";
-
return this;
}
@@ -798,28 +802,34 @@ public com.google.cloud.aiplatform.v1.DataItem build() {
public com.google.cloud.aiplatform.v1.DataItem buildPartial() {
com.google.cloud.aiplatform.v1.DataItem result =
new com.google.cloud.aiplatform.v1.DataItem(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DataItem result) {
int from_bitField0_ = bitField0_;
- result.name_ = name_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
}
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- if (payloadBuilder_ == null) {
- result.payload_ = payload_;
- } else {
- result.payload_ = payloadBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.payload_ = payloadBuilder_ == null ? payload_ : payloadBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.etag_ = etag_;
}
- result.etag_ = etag_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -869,6 +879,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataItem other) {
if (other == com.google.cloud.aiplatform.v1.DataItem.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCreateTime()) {
@@ -878,11 +889,13 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataItem other) {
mergeUpdateTime(other.getUpdateTime());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000008;
if (other.hasPayload()) {
mergePayload(other.getPayload());
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000020;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -914,13 +927,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
@@ -932,24 +945,25 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000008;
break;
} // case 26
case 34:
{
input.readMessage(getPayloadFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 34
case 50:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 50
case 58:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000020;
break;
} // case 58
default:
@@ -1032,8 +1046,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1049,8 +1063,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1071,8 +1085,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1097,7 +1111,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1138,11 +1152,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1159,11 +1173,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1179,17 +1193,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1204,14 +1219,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1226,7 +1240,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -1298,7 +1312,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1339,11 +1353,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1360,11 +1374,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1380,17 +1394,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1405,14 +1420,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1427,7 +1441,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -1490,14 +1504,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000008;
+ onChanged();
return labels_;
}
@@ -1573,8 +1587,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -1611,6 +1627,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -1641,6 +1658,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000008;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -1667,8 +1685,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000008;
return this;
}
/**
@@ -1690,6 +1708,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000008;
return this;
}
@@ -1714,7 +1733,7 @@ public Builder putAllLabels(java.util.Map va
* @return Whether the payload field is set.
*/
public boolean hasPayload() {
- return payloadBuilder_ != null || payload_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -1755,11 +1774,11 @@ public Builder setPayload(com.google.protobuf.Value value) {
throw new NullPointerException();
}
payload_ = value;
- onChanged();
} else {
payloadBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -1777,11 +1796,11 @@ public Builder setPayload(com.google.protobuf.Value value) {
public Builder setPayload(com.google.protobuf.Value.Builder builderForValue) {
if (payloadBuilder_ == null) {
payload_ = builderForValue.build();
- onChanged();
} else {
payloadBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -1798,16 +1817,18 @@ public Builder setPayload(com.google.protobuf.Value.Builder builderForValue) {
*/
public Builder mergePayload(com.google.protobuf.Value value) {
if (payloadBuilder_ == null) {
- if (payload_ != null) {
- payload_ = com.google.protobuf.Value.newBuilder(payload_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && payload_ != null
+ && payload_ != com.google.protobuf.Value.getDefaultInstance()) {
+ getPayloadBuilder().mergeFrom(value);
} else {
payload_ = value;
}
- onChanged();
} else {
payloadBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -1823,14 +1844,13 @@ public Builder mergePayload(com.google.protobuf.Value value) {
* .google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
*/
public Builder clearPayload() {
- if (payloadBuilder_ == null) {
- payload_ = null;
- onChanged();
- } else {
- payload_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ payload_ = null;
+ if (payloadBuilder_ != null) {
+ payloadBuilder_.dispose();
payloadBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1846,7 +1866,7 @@ public Builder clearPayload() {
* .google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED];
*/
public com.google.protobuf.Value.Builder getPayloadBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getPayloadFieldBuilder().getBuilder();
}
@@ -1962,8 +1982,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1980,8 +2000,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2003,8 +2023,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemOrBuilder.java
index babf8fa88369..959023ae209a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemOrBuilder.java
@@ -198,7 +198,6 @@ public interface DataItemOrBuilder
*
* map<string, string> labels = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemView.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemView.java
index ca44f1b6a458..f022badb84bd 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemView.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataItemView.java
@@ -112,10 +112,14 @@ public com.google.cloud.aiplatform.v1.DataItem getDataItem() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.DataItemOrBuilder getDataItemOrBuilder() {
- return getDataItem();
+ return dataItem_ == null
+ ? com.google.cloud.aiplatform.v1.DataItem.getDefaultInstance()
+ : dataItem_;
}
public static final int ANNOTATIONS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
private java.util.List annotations_;
/**
*
@@ -195,7 +199,7 @@ public com.google.cloud.aiplatform.v1.AnnotationOrBuilder getAnnotationsOrBuilde
}
public static final int HAS_TRUNCATED_ANNOTATIONS_FIELD_NUMBER = 3;
- private boolean hasTruncatedAnnotations_;
+ private boolean hasTruncatedAnnotations_ = false;
/**
*
*
@@ -439,10 +443,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (dataItemBuilder_ == null) {
- dataItem_ = null;
- } else {
- dataItem_ = null;
+ bitField0_ = 0;
+ dataItem_ = null;
+ if (dataItemBuilder_ != null) {
+ dataItemBuilder_.dispose();
dataItemBuilder_ = null;
}
if (annotationsBuilder_ == null) {
@@ -451,9 +455,8 @@ public Builder clear() {
annotations_ = null;
annotationsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
hasTruncatedAnnotations_ = false;
-
return this;
}
@@ -481,24 +484,34 @@ public com.google.cloud.aiplatform.v1.DataItemView build() {
public com.google.cloud.aiplatform.v1.DataItemView buildPartial() {
com.google.cloud.aiplatform.v1.DataItemView result =
new com.google.cloud.aiplatform.v1.DataItemView(this);
- int from_bitField0_ = bitField0_;
- if (dataItemBuilder_ == null) {
- result.dataItem_ = dataItem_;
- } else {
- result.dataItem_ = dataItemBuilder_.build();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.DataItemView result) {
if (annotationsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
annotations_ = java.util.Collections.unmodifiableList(annotations_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.annotations_ = annotations_;
} else {
result.annotations_ = annotationsBuilder_.build();
}
- result.hasTruncatedAnnotations_ = hasTruncatedAnnotations_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DataItemView result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.dataItem_ = dataItemBuilder_ == null ? dataItem_ : dataItemBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.hasTruncatedAnnotations_ = hasTruncatedAnnotations_;
+ }
}
@java.lang.Override
@@ -553,7 +566,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataItemView other) {
if (!other.annotations_.isEmpty()) {
if (annotations_.isEmpty()) {
annotations_ = other.annotations_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAnnotationsIsMutable();
annotations_.addAll(other.annotations_);
@@ -566,7 +579,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataItemView other) {
annotationsBuilder_.dispose();
annotationsBuilder_ = null;
annotations_ = other.annotations_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
annotationsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getAnnotationsFieldBuilder()
@@ -608,7 +621,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getDataItemFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
@@ -627,7 +640,7 @@ public Builder mergeFrom(
case 24:
{
hasTruncatedAnnotations_ = input.readBool();
-
+ bitField0_ |= 0x00000004;
break;
} // case 24
default:
@@ -667,7 +680,7 @@ public Builder mergeFrom(
* @return Whether the dataItem field is set.
*/
public boolean hasDataItem() {
- return dataItemBuilder_ != null || dataItem_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -704,11 +717,11 @@ public Builder setDataItem(com.google.cloud.aiplatform.v1.DataItem value) {
throw new NullPointerException();
}
dataItem_ = value;
- onChanged();
} else {
dataItemBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -723,11 +736,11 @@ public Builder setDataItem(com.google.cloud.aiplatform.v1.DataItem value) {
public Builder setDataItem(com.google.cloud.aiplatform.v1.DataItem.Builder builderForValue) {
if (dataItemBuilder_ == null) {
dataItem_ = builderForValue.build();
- onChanged();
} else {
dataItemBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -741,19 +754,18 @@ public Builder setDataItem(com.google.cloud.aiplatform.v1.DataItem.Builder build
*/
public Builder mergeDataItem(com.google.cloud.aiplatform.v1.DataItem value) {
if (dataItemBuilder_ == null) {
- if (dataItem_ != null) {
- dataItem_ =
- com.google.cloud.aiplatform.v1.DataItem.newBuilder(dataItem_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && dataItem_ != null
+ && dataItem_ != com.google.cloud.aiplatform.v1.DataItem.getDefaultInstance()) {
+ getDataItemBuilder().mergeFrom(value);
} else {
dataItem_ = value;
}
- onChanged();
} else {
dataItemBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -766,14 +778,13 @@ public Builder mergeDataItem(com.google.cloud.aiplatform.v1.DataItem value) {
* .google.cloud.aiplatform.v1.DataItem data_item = 1;
*/
public Builder clearDataItem() {
- if (dataItemBuilder_ == null) {
- dataItem_ = null;
- onChanged();
- } else {
- dataItem_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ dataItem_ = null;
+ if (dataItemBuilder_ != null) {
+ dataItemBuilder_.dispose();
dataItemBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -786,7 +797,7 @@ public Builder clearDataItem() {
* .google.cloud.aiplatform.v1.DataItem data_item = 1;
*/
public com.google.cloud.aiplatform.v1.DataItem.Builder getDataItemBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getDataItemFieldBuilder().getBuilder();
}
@@ -838,10 +849,10 @@ public com.google.cloud.aiplatform.v1.DataItemOrBuilder getDataItemOrBuilder() {
java.util.Collections.emptyList();
private void ensureAnnotationsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
annotations_ =
new java.util.ArrayList(annotations_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
}
}
@@ -1079,7 +1090,7 @@ public Builder addAllAnnotations(
public Builder clearAnnotations() {
if (annotationsBuilder_ == null) {
annotations_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
annotationsBuilder_.clear();
@@ -1215,7 +1226,7 @@ public com.google.cloud.aiplatform.v1.Annotation.Builder addAnnotationsBuilder(i
com.google.cloud.aiplatform.v1.Annotation,
com.google.cloud.aiplatform.v1.Annotation.Builder,
com.google.cloud.aiplatform.v1.AnnotationOrBuilder>(
- annotations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ annotations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
annotations_ = null;
}
return annotationsBuilder_;
@@ -1262,6 +1273,7 @@ public boolean getHasTruncatedAnnotations() {
public Builder setHasTruncatedAnnotations(boolean value) {
hasTruncatedAnnotations_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1282,7 +1294,7 @@ public Builder setHasTruncatedAnnotations(boolean value) {
* @return This builder for chaining.
*/
public Builder clearHasTruncatedAnnotations() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
hasTruncatedAnnotations_ = false;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJob.java
index 82f7a7ceb624..e00a61cf2786 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJob.java
@@ -88,7 +88,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -137,7 +139,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -192,6 +196,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
}
public static final int DATASETS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList datasets_;
/**
*
@@ -281,6 +287,7 @@ private static final class AnnotationLabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField annotationLabels_;
private com.google.protobuf.MapField
@@ -358,8 +365,10 @@ public java.util.Map getAnnotationLabelsMap(
* map<string, string> annotation_labels = 12;
*/
@java.lang.Override
- public java.lang.String getAnnotationLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getAnnotationLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -394,7 +403,7 @@ public java.lang.String getAnnotationLabelsOrThrow(java.lang.String key) {
}
public static final int LABELER_COUNT_FIELD_NUMBER = 4;
- private int labelerCount_;
+ private int labelerCount_ = 0;
/**
*
*
@@ -412,7 +421,9 @@ public int getLabelerCount() {
}
public static final int INSTRUCTION_URI_FIELD_NUMBER = 5;
- private volatile java.lang.Object instructionUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object instructionUri_ = "";
/**
*
*
@@ -465,7 +476,9 @@ public com.google.protobuf.ByteString getInstructionUriBytes() {
}
public static final int INPUTS_SCHEMA_URI_FIELD_NUMBER = 6;
- private volatile java.lang.Object inputsSchemaUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object inputsSchemaUri_ = "";
/**
*
*
@@ -564,11 +577,11 @@ public com.google.protobuf.Value getInputs() {
*/
@java.lang.Override
public com.google.protobuf.ValueOrBuilder getInputsOrBuilder() {
- return getInputs();
+ return inputs_ == null ? com.google.protobuf.Value.getDefaultInstance() : inputs_;
}
public static final int STATE_FIELD_NUMBER = 8;
- private int state_;
+ private int state_ = 0;
/**
*
*
@@ -601,14 +614,13 @@ public int getStateValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.JobState getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.JobState result =
- com.google.cloud.aiplatform.v1.JobState.valueOf(state_);
+ com.google.cloud.aiplatform.v1.JobState.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.JobState.UNRECOGNIZED : result;
}
public static final int LABELING_PROGRESS_FIELD_NUMBER = 13;
- private int labelingProgress_;
+ private int labelingProgress_ = 0;
/**
*
*
@@ -675,7 +687,7 @@ public com.google.type.Money getCurrentSpend() {
*/
@java.lang.Override
public com.google.type.MoneyOrBuilder getCurrentSpendOrBuilder() {
- return getCurrentSpend();
+ return currentSpend_ == null ? com.google.type.Money.getDefaultInstance() : currentSpend_;
}
public static final int CREATE_TIME_FIELD_NUMBER = 9;
@@ -724,7 +736,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 10;
@@ -773,7 +785,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int ERROR_FIELD_NUMBER = 22;
@@ -822,7 +834,7 @@ public com.google.rpc.Status getError() {
*/
@java.lang.Override
public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
- return getError();
+ return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
}
public static final int LABELS_FIELD_NUMBER = 11;
@@ -838,6 +850,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -922,7 +935,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 11;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -960,6 +976,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public static final int SPECIALIST_POOLS_FIELD_NUMBER = 16;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList specialistPools_;
/**
*
@@ -1074,7 +1092,9 @@ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
- return getEncryptionSpec();
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
}
public static final int ACTIVE_LEARNING_CONFIG_FIELD_NUMBER = 21;
@@ -1129,7 +1149,9 @@ public com.google.cloud.aiplatform.v1.ActiveLearningConfig getActiveLearningConf
@java.lang.Override
public com.google.cloud.aiplatform.v1.ActiveLearningConfigOrBuilder
getActiveLearningConfigOrBuilder() {
- return getActiveLearningConfig();
+ return activeLearningConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ActiveLearningConfig.getDefaultInstance()
+ : activeLearningConfig_;
}
private byte memoizedIsInitialized = -1;
@@ -1573,66 +1595,53 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
displayName_ = "";
-
datasets_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableAnnotationLabels().clear();
labelerCount_ = 0;
-
instructionUri_ = "";
-
inputsSchemaUri_ = "";
-
- if (inputsBuilder_ == null) {
- inputs_ = null;
- } else {
- inputs_ = null;
+ inputs_ = null;
+ if (inputsBuilder_ != null) {
+ inputsBuilder_.dispose();
inputsBuilder_ = null;
}
state_ = 0;
-
labelingProgress_ = 0;
-
- if (currentSpendBuilder_ == null) {
- currentSpend_ = null;
- } else {
- currentSpend_ = null;
+ currentSpend_ = null;
+ if (currentSpendBuilder_ != null) {
+ currentSpendBuilder_.dispose();
currentSpendBuilder_ = null;
}
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
- if (errorBuilder_ == null) {
- error_ = null;
- } else {
- error_ = null;
+ error_ = null;
+ if (errorBuilder_ != null) {
+ errorBuilder_.dispose();
errorBuilder_ = null;
}
internalGetMutableLabels().clear();
specialistPools_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00008000);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
- if (activeLearningConfigBuilder_ == null) {
- activeLearningConfig_ = null;
- } else {
- activeLearningConfig_ = null;
+ activeLearningConfig_ = null;
+ if (activeLearningConfigBuilder_ != null) {
+ activeLearningConfigBuilder_.dispose();
activeLearningConfigBuilder_ = null;
}
return this;
@@ -1662,65 +1671,84 @@ public com.google.cloud.aiplatform.v1.DataLabelingJob build() {
public com.google.cloud.aiplatform.v1.DataLabelingJob buildPartial() {
com.google.cloud.aiplatform.v1.DataLabelingJob result =
new com.google.cloud.aiplatform.v1.DataLabelingJob(this);
- int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.displayName_ = displayName_;
- if (((bitField0_ & 0x00000001) != 0)) {
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.DataLabelingJob result) {
+ if (((bitField0_ & 0x00000004) != 0)) {
datasets_ = datasets_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.datasets_ = datasets_;
- result.annotationLabels_ = internalGetAnnotationLabels();
- result.annotationLabels_.makeImmutable();
- result.labelerCount_ = labelerCount_;
- result.instructionUri_ = instructionUri_;
- result.inputsSchemaUri_ = inputsSchemaUri_;
- if (inputsBuilder_ == null) {
- result.inputs_ = inputs_;
- } else {
- result.inputs_ = inputsBuilder_.build();
+ if (((bitField0_ & 0x00008000) != 0)) {
+ specialistPools_ = specialistPools_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00008000);
}
- result.state_ = state_;
- result.labelingProgress_ = labelingProgress_;
- if (currentSpendBuilder_ == null) {
- result.currentSpend_ = currentSpend_;
- } else {
- result.currentSpend_ = currentSpendBuilder_.build();
+ result.specialistPools_ = specialistPools_;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DataLabelingJob result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.displayName_ = displayName_;
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.annotationLabels_ = internalGetAnnotationLabels();
+ result.annotationLabels_.makeImmutable();
}
- if (errorBuilder_ == null) {
- result.error_ = error_;
- } else {
- result.error_ = errorBuilder_.build();
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.labelerCount_ = labelerCount_;
}
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- if (((bitField0_ & 0x00000008) != 0)) {
- specialistPools_ = specialistPools_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000008);
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.instructionUri_ = instructionUri_;
}
- result.specialistPools_ = specialistPools_;
- if (encryptionSpecBuilder_ == null) {
- result.encryptionSpec_ = encryptionSpec_;
- } else {
- result.encryptionSpec_ = encryptionSpecBuilder_.build();
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.inputsSchemaUri_ = inputsSchemaUri_;
}
- if (activeLearningConfigBuilder_ == null) {
- result.activeLearningConfig_ = activeLearningConfig_;
- } else {
- result.activeLearningConfig_ = activeLearningConfigBuilder_.build();
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.inputs_ = inputsBuilder_ == null ? inputs_ : inputsBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.state_ = state_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.labelingProgress_ = labelingProgress_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.currentSpend_ =
+ currentSpendBuilder_ == null ? currentSpend_ : currentSpendBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00010000) != 0)) {
+ result.encryptionSpec_ =
+ encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00020000) != 0)) {
+ result.activeLearningConfig_ =
+ activeLearningConfigBuilder_ == null
+ ? activeLearningConfig_
+ : activeLearningConfigBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -1770,16 +1798,18 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataLabelingJob other) {
if (other == com.google.cloud.aiplatform.v1.DataLabelingJob.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (!other.datasets_.isEmpty()) {
if (datasets_.isEmpty()) {
datasets_ = other.datasets_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDatasetsIsMutable();
datasets_.addAll(other.datasets_);
@@ -1787,15 +1817,18 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataLabelingJob other) {
onChanged();
}
internalGetMutableAnnotationLabels().mergeFrom(other.internalGetAnnotationLabels());
+ bitField0_ |= 0x00000008;
if (other.getLabelerCount() != 0) {
setLabelerCount(other.getLabelerCount());
}
if (!other.getInstructionUri().isEmpty()) {
instructionUri_ = other.instructionUri_;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getInputsSchemaUri().isEmpty()) {
inputsSchemaUri_ = other.inputsSchemaUri_;
+ bitField0_ |= 0x00000040;
onChanged();
}
if (other.hasInputs()) {
@@ -1820,10 +1853,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DataLabelingJob other) {
mergeError(other.getError());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00004000;
if (!other.specialistPools_.isEmpty()) {
if (specialistPools_.isEmpty()) {
specialistPools_ = other.specialistPools_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00008000);
} else {
ensureSpecialistPoolsIsMutable();
specialistPools_.addAll(other.specialistPools_);
@@ -1865,13 +1899,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
@@ -1884,43 +1918,43 @@ public Builder mergeFrom(
case 32:
{
labelerCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000010;
break;
} // case 32
case 42:
{
instructionUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000020;
break;
} // case 42
case 50:
{
inputsSchemaUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000040;
break;
} // case 50
case 58:
{
input.readMessage(getInputsFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000080;
break;
} // case 58
case 64:
{
state_ = input.readEnum();
-
+ bitField0_ |= 0x00000100;
break;
} // case 64
case 74:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000800;
break;
} // case 74
case 82:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00001000;
break;
} // case 82
case 90:
@@ -1932,6 +1966,7 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00004000;
break;
} // case 90
case 98:
@@ -1944,18 +1979,19 @@ public Builder mergeFrom(
internalGetMutableAnnotationLabels()
.getMutableMap()
.put(annotationLabels__.getKey(), annotationLabels__.getValue());
+ bitField0_ |= 0x00000008;
break;
} // case 98
case 104:
{
labelingProgress_ = input.readInt32();
-
+ bitField0_ |= 0x00000200;
break;
} // case 104
case 114:
{
input.readMessage(getCurrentSpendFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000400;
break;
} // case 114
case 130:
@@ -1968,20 +2004,20 @@ public Builder mergeFrom(
case 162:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00010000;
break;
} // case 162
case 170:
{
input.readMessage(
getActiveLearningConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00020000;
break;
} // case 170
case 178:
{
input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00002000;
break;
} // case 178
default:
@@ -2064,8 +2100,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2081,8 +2117,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2103,8 +2139,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2179,8 +2215,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -2199,8 +2235,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -2224,8 +2260,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -2234,9 +2270,9 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDatasetsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
datasets_ = new com.google.protobuf.LazyStringArrayList(datasets_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -2403,7 +2439,7 @@ public Builder addAllDatasets(java.lang.Iterable values) {
*/
public Builder clearDatasets() {
datasets_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -2447,8 +2483,6 @@ public Builder addDatasetsBytes(com.google.protobuf.ByteString value) {
private com.google.protobuf.MapField
internalGetMutableAnnotationLabels() {
- onChanged();
- ;
if (annotationLabels_ == null) {
annotationLabels_ =
com.google.protobuf.MapField.newMapField(
@@ -2457,6 +2491,8 @@ public Builder addDatasetsBytes(com.google.protobuf.ByteString value) {
if (!annotationLabels_.isMutable()) {
annotationLabels_ = annotationLabels_.copy();
}
+ bitField0_ |= 0x00000008;
+ onChanged();
return annotationLabels_;
}
@@ -2526,8 +2562,10 @@ public java.util.Map getAnnotationLabelsMap(
* map<string, string> annotation_labels = 12;
*/
@java.lang.Override
- public java.lang.String getAnnotationLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getAnnotationLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -2564,6 +2602,7 @@ public java.lang.String getAnnotationLabelsOrThrow(java.lang.String key) {
}
public Builder clearAnnotationLabels() {
+ bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableAnnotationLabels().getMutableMap().clear();
return this;
}
@@ -2592,6 +2631,7 @@ public Builder removeAnnotationLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableAnnotationLabels() {
+ bitField0_ |= 0x00000008;
return internalGetMutableAnnotationLabels().getMutableMap();
}
/**
@@ -2616,8 +2656,8 @@ public Builder putAnnotationLabels(java.lang.String key, java.lang.String value)
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableAnnotationLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000008;
return this;
}
/**
@@ -2638,6 +2678,7 @@ public Builder putAnnotationLabels(java.lang.String key, java.lang.String value)
public Builder putAllAnnotationLabels(
java.util.Map values) {
internalGetMutableAnnotationLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000008;
return this;
}
@@ -2672,6 +2713,7 @@ public int getLabelerCount() {
public Builder setLabelerCount(int value) {
labelerCount_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2687,7 +2729,7 @@ public Builder setLabelerCount(int value) {
* @return This builder for chaining.
*/
public Builder clearLabelerCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000010);
labelerCount_ = 0;
onChanged();
return this;
@@ -2760,8 +2802,8 @@ public Builder setInstructionUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
instructionUri_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2779,8 +2821,8 @@ public Builder setInstructionUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearInstructionUri() {
-
instructionUri_ = getDefaultInstance().getInstructionUri();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2803,8 +2845,8 @@ public Builder setInstructionUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
instructionUri_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2882,8 +2924,8 @@ public Builder setInputsSchemaUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
inputsSchemaUri_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2903,8 +2945,8 @@ public Builder setInputsSchemaUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearInputsSchemaUri() {
-
inputsSchemaUri_ = getDefaultInstance().getInputsSchemaUri();
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@@ -2929,8 +2971,8 @@ public Builder setInputsSchemaUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
inputsSchemaUri_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -2953,7 +2995,7 @@ public Builder setInputsSchemaUriBytes(com.google.protobuf.ByteString value) {
* @return Whether the inputs field is set.
*/
public boolean hasInputs() {
- return inputsBuilder_ != null || inputs_ != null;
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -2988,11 +3030,11 @@ public Builder setInputs(com.google.protobuf.Value value) {
throw new NullPointerException();
}
inputs_ = value;
- onChanged();
} else {
inputsBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3007,11 +3049,11 @@ public Builder setInputs(com.google.protobuf.Value value) {
public Builder setInputs(com.google.protobuf.Value.Builder builderForValue) {
if (inputsBuilder_ == null) {
inputs_ = builderForValue.build();
- onChanged();
} else {
inputsBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3025,16 +3067,18 @@ public Builder setInputs(com.google.protobuf.Value.Builder builderForValue) {
*/
public Builder mergeInputs(com.google.protobuf.Value value) {
if (inputsBuilder_ == null) {
- if (inputs_ != null) {
- inputs_ = com.google.protobuf.Value.newBuilder(inputs_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000080) != 0)
+ && inputs_ != null
+ && inputs_ != com.google.protobuf.Value.getDefaultInstance()) {
+ getInputsBuilder().mergeFrom(value);
} else {
inputs_ = value;
}
- onChanged();
} else {
inputsBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3047,14 +3091,13 @@ public Builder mergeInputs(com.google.protobuf.Value value) {
* .google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
*/
public Builder clearInputs() {
- if (inputsBuilder_ == null) {
- inputs_ = null;
- onChanged();
- } else {
- inputs_ = null;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ inputs_ = null;
+ if (inputsBuilder_ != null) {
+ inputsBuilder_.dispose();
inputsBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3067,7 +3110,7 @@ public Builder clearInputs() {
* .google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED];
*/
public com.google.protobuf.Value.Builder getInputsBuilder() {
-
+ bitField0_ |= 0x00000080;
onChanged();
return getInputsFieldBuilder().getBuilder();
}
@@ -3145,8 +3188,8 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
-
state_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -3165,9 +3208,8 @@ public Builder setStateValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.JobState getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.JobState result =
- com.google.cloud.aiplatform.v1.JobState.valueOf(state_);
+ com.google.cloud.aiplatform.v1.JobState.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.JobState.UNRECOGNIZED : result;
}
/**
@@ -3188,7 +3230,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.JobState value) {
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000100;
state_ = value.getNumber();
onChanged();
return this;
@@ -3207,7 +3249,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.JobState value) {
* @return This builder for chaining.
*/
public Builder clearState() {
-
+ bitField0_ = (bitField0_ & ~0x00000100);
state_ = 0;
onChanged();
return this;
@@ -3246,6 +3288,7 @@ public int getLabelingProgress() {
public Builder setLabelingProgress(int value) {
labelingProgress_ = value;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -3262,7 +3305,7 @@ public Builder setLabelingProgress(int value) {
* @return This builder for chaining.
*/
public Builder clearLabelingProgress() {
-
+ bitField0_ = (bitField0_ & ~0x00000200);
labelingProgress_ = 0;
onChanged();
return this;
@@ -3286,7 +3329,7 @@ public Builder clearLabelingProgress() {
* @return Whether the currentSpend field is set.
*/
public boolean hasCurrentSpend() {
- return currentSpendBuilder_ != null || currentSpend_ != null;
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
*
@@ -3325,11 +3368,11 @@ public Builder setCurrentSpend(com.google.type.Money value) {
throw new NullPointerException();
}
currentSpend_ = value;
- onChanged();
} else {
currentSpendBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3346,11 +3389,11 @@ public Builder setCurrentSpend(com.google.type.Money value) {
public Builder setCurrentSpend(com.google.type.Money.Builder builderForValue) {
if (currentSpendBuilder_ == null) {
currentSpend_ = builderForValue.build();
- onChanged();
} else {
currentSpendBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3366,17 +3409,18 @@ public Builder setCurrentSpend(com.google.type.Money.Builder builderForValue) {
*/
public Builder mergeCurrentSpend(com.google.type.Money value) {
if (currentSpendBuilder_ == null) {
- if (currentSpend_ != null) {
- currentSpend_ =
- com.google.type.Money.newBuilder(currentSpend_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000400) != 0)
+ && currentSpend_ != null
+ && currentSpend_ != com.google.type.Money.getDefaultInstance()) {
+ getCurrentSpendBuilder().mergeFrom(value);
} else {
currentSpend_ = value;
}
- onChanged();
} else {
currentSpendBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3391,14 +3435,13 @@ public Builder mergeCurrentSpend(com.google.type.Money value) {
*
*/
public Builder clearCurrentSpend() {
- if (currentSpendBuilder_ == null) {
- currentSpend_ = null;
- onChanged();
- } else {
- currentSpend_ = null;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ currentSpend_ = null;
+ if (currentSpendBuilder_ != null) {
+ currentSpendBuilder_.dispose();
currentSpendBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3413,7 +3456,7 @@ public Builder clearCurrentSpend() {
*
*/
public com.google.type.Money.Builder getCurrentSpendBuilder() {
-
+ bitField0_ |= 0x00000400;
onChanged();
return getCurrentSpendFieldBuilder().getBuilder();
}
@@ -3481,7 +3524,7 @@ public com.google.type.MoneyOrBuilder getCurrentSpendOrBuilder() {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
*
@@ -3522,11 +3565,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3543,11 +3586,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3563,17 +3606,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000800) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3588,14 +3632,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3610,7 +3653,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000800;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -3682,7 +3725,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
*
@@ -3723,11 +3766,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
@@ -3744,11 +3787,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
@@ -3764,17 +3807,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00001000) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
@@ -3789,14 +3833,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00001000);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3811,7 +3854,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00001000;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -3880,7 +3923,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
* @return Whether the error field is set.
*/
public boolean hasError() {
- return errorBuilder_ != null || error_ != null;
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
*
@@ -3917,11 +3960,11 @@ public Builder setError(com.google.rpc.Status value) {
throw new NullPointerException();
}
error_ = value;
- onChanged();
} else {
errorBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -3937,11 +3980,11 @@ public Builder setError(com.google.rpc.Status value) {
public Builder setError(com.google.rpc.Status.Builder builderForValue) {
if (errorBuilder_ == null) {
error_ = builderForValue.build();
- onChanged();
} else {
errorBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -3956,16 +3999,18 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
*/
public Builder mergeError(com.google.rpc.Status value) {
if (errorBuilder_ == null) {
- if (error_ != null) {
- error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00002000) != 0)
+ && error_ != null
+ && error_ != com.google.rpc.Status.getDefaultInstance()) {
+ getErrorBuilder().mergeFrom(value);
} else {
error_ = value;
}
- onChanged();
} else {
errorBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -3979,14 +4024,13 @@ public Builder mergeError(com.google.rpc.Status value) {
* .google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearError() {
- if (errorBuilder_ == null) {
- error_ = null;
- onChanged();
- } else {
- error_ = null;
+ bitField0_ = (bitField0_ & ~0x00002000);
+ error_ = null;
+ if (errorBuilder_ != null) {
+ errorBuilder_.dispose();
errorBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4000,7 +4044,7 @@ public Builder clearError() {
* .google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.rpc.Status.Builder getErrorBuilder() {
-
+ bitField0_ |= 0x00002000;
onChanged();
return getErrorFieldBuilder().getBuilder();
}
@@ -4056,14 +4100,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00004000;
+ onChanged();
return labels_;
}
@@ -4142,8 +4186,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 11;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -4181,6 +4227,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00004000);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -4212,6 +4259,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00004000;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -4239,8 +4287,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00004000;
return this;
}
/**
@@ -4263,6 +4311,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00004000;
return this;
}
@@ -4270,9 +4319,9 @@ public Builder putAllLabels(java.util.Map va
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureSpecialistPoolsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00008000) != 0)) {
specialistPools_ = new com.google.protobuf.LazyStringArrayList(specialistPools_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00008000;
}
}
/**
@@ -4407,7 +4456,7 @@ public Builder addAllSpecialistPools(java.lang.Iterable values
*/
public Builder clearSpecialistPools() {
specialistPools_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00008000);
onChanged();
return this;
}
@@ -4455,7 +4504,7 @@ public Builder addSpecialistPoolsBytes(com.google.protobuf.ByteString value) {
* @return Whether the encryptionSpec field is set.
*/
public boolean hasEncryptionSpec() {
- return encryptionSpecBuilder_ != null || encryptionSpec_ != null;
+ return ((bitField0_ & 0x00010000) != 0);
}
/**
*
@@ -4498,11 +4547,11 @@ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec v
throw new NullPointerException();
}
encryptionSpec_ = value;
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00010000;
+ onChanged();
return this;
}
/**
@@ -4521,11 +4570,11 @@ public Builder setEncryptionSpec(
com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) {
if (encryptionSpecBuilder_ == null) {
encryptionSpec_ = builderForValue.build();
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00010000;
+ onChanged();
return this;
}
/**
@@ -4542,19 +4591,19 @@ public Builder setEncryptionSpec(
*/
public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
if (encryptionSpecBuilder_ == null) {
- if (encryptionSpec_ != null) {
- encryptionSpec_ =
- com.google.cloud.aiplatform.v1.EncryptionSpec.newBuilder(encryptionSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00010000) != 0)
+ && encryptionSpec_ != null
+ && encryptionSpec_
+ != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) {
+ getEncryptionSpecBuilder().mergeFrom(value);
} else {
encryptionSpec_ = value;
}
- onChanged();
} else {
encryptionSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00010000;
+ onChanged();
return this;
}
/**
@@ -4570,14 +4619,13 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 20;
*/
public Builder clearEncryptionSpec() {
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- onChanged();
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00010000);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4593,7 +4641,7 @@ public Builder clearEncryptionSpec() {
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 20;
*/
public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
-
+ bitField0_ |= 0x00010000;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
@@ -4667,7 +4715,7 @@ public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecO
* @return Whether the activeLearningConfig field is set.
*/
public boolean hasActiveLearningConfig() {
- return activeLearningConfigBuilder_ != null || activeLearningConfig_ != null;
+ return ((bitField0_ & 0x00020000) != 0);
}
/**
*
@@ -4709,11 +4757,11 @@ public Builder setActiveLearningConfig(
throw new NullPointerException();
}
activeLearningConfig_ = value;
- onChanged();
} else {
activeLearningConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00020000;
+ onChanged();
return this;
}
/**
@@ -4731,11 +4779,11 @@ public Builder setActiveLearningConfig(
com.google.cloud.aiplatform.v1.ActiveLearningConfig.Builder builderForValue) {
if (activeLearningConfigBuilder_ == null) {
activeLearningConfig_ = builderForValue.build();
- onChanged();
} else {
activeLearningConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00020000;
+ onChanged();
return this;
}
/**
@@ -4752,19 +4800,19 @@ public Builder setActiveLearningConfig(
public Builder mergeActiveLearningConfig(
com.google.cloud.aiplatform.v1.ActiveLearningConfig value) {
if (activeLearningConfigBuilder_ == null) {
- if (activeLearningConfig_ != null) {
- activeLearningConfig_ =
- com.google.cloud.aiplatform.v1.ActiveLearningConfig.newBuilder(activeLearningConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00020000) != 0)
+ && activeLearningConfig_ != null
+ && activeLearningConfig_
+ != com.google.cloud.aiplatform.v1.ActiveLearningConfig.getDefaultInstance()) {
+ getActiveLearningConfigBuilder().mergeFrom(value);
} else {
activeLearningConfig_ = value;
}
- onChanged();
} else {
activeLearningConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00020000;
+ onChanged();
return this;
}
/**
@@ -4779,14 +4827,13 @@ public Builder mergeActiveLearningConfig(
* .google.cloud.aiplatform.v1.ActiveLearningConfig active_learning_config = 21;
*/
public Builder clearActiveLearningConfig() {
- if (activeLearningConfigBuilder_ == null) {
- activeLearningConfig_ = null;
- onChanged();
- } else {
- activeLearningConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00020000);
+ activeLearningConfig_ = null;
+ if (activeLearningConfigBuilder_ != null) {
+ activeLearningConfigBuilder_.dispose();
activeLearningConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4802,7 +4849,7 @@ public Builder clearActiveLearningConfig() {
*/
public com.google.cloud.aiplatform.v1.ActiveLearningConfig.Builder
getActiveLearningConfigBuilder() {
-
+ bitField0_ |= 0x00020000;
onChanged();
return getActiveLearningConfigFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobOrBuilder.java
index a46f1114d444..bfc1bac012a9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DataLabelingJobOrBuilder.java
@@ -212,7 +212,6 @@ public interface DataLabelingJobOrBuilder
*
* map<string, string> annotation_labels = 12;
*/
-
/* nullable */
java.lang.String getAnnotationLabelsOrDefault(
java.lang.String key,
@@ -621,7 +620,6 @@ java.lang.String getAnnotationLabelsOrDefault(
*
* map<string, string> labels = 11;
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Dataset.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Dataset.java
index fb01aadec774..e93354e1d08f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Dataset.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Dataset.java
@@ -85,7 +85,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -134,7 +136,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -187,7 +191,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
}
public static final int DESCRIPTION_FIELD_NUMBER = 16;
- private volatile java.lang.Object description_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
/**
*
*
@@ -236,7 +242,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
}
public static final int METADATA_SCHEMA_URI_FIELD_NUMBER = 3;
- private volatile java.lang.Object metadataSchemaUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object metadataSchemaUri_ = "";
/**
*
*
@@ -333,7 +341,7 @@ public com.google.protobuf.Value getMetadata() {
*/
@java.lang.Override
public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder() {
- return getMetadata();
+ return metadata_ == null ? com.google.protobuf.Value.getDefaultInstance() : metadata_;
}
public static final int CREATE_TIME_FIELD_NUMBER = 4;
@@ -382,7 +390,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 5;
@@ -431,11 +439,13 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int ETAG_FIELD_NUMBER = 6;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -498,6 +508,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -591,7 +602,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 7;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -632,6 +646,8 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public static final int SAVED_QUERIES_FIELD_NUMBER = 9;
+
+ @SuppressWarnings("serial")
private java.util.List savedQueries_;
/**
*
@@ -778,11 +794,15 @@ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
- return getEncryptionSpec();
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
}
public static final int METADATA_ARTIFACT_FIELD_NUMBER = 17;
- private volatile java.lang.Object metadataArtifact_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object metadataArtifact_ = "";
/**
*
*
@@ -1181,34 +1201,27 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
displayName_ = "";
-
description_ = "";
-
metadataSchemaUri_ = "";
-
- if (metadataBuilder_ == null) {
- metadata_ = null;
- } else {
- metadata_ = null;
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
etag_ = "";
-
internalGetMutableLabels().clear();
if (savedQueriesBuilder_ == null) {
savedQueries_ = java.util.Collections.emptyList();
@@ -1216,15 +1229,13 @@ public Builder clear() {
savedQueries_ = null;
savedQueriesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
metadataArtifact_ = "";
-
return this;
}
@@ -1252,46 +1263,63 @@ public com.google.cloud.aiplatform.v1.Dataset build() {
public com.google.cloud.aiplatform.v1.Dataset buildPartial() {
com.google.cloud.aiplatform.v1.Dataset result =
new com.google.cloud.aiplatform.v1.Dataset(this);
- int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.displayName_ = displayName_;
- result.description_ = description_;
- result.metadataSchemaUri_ = metadataSchemaUri_;
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
- }
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
- }
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.etag_ = etag_;
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.Dataset result) {
if (savedQueriesBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
savedQueries_ = java.util.Collections.unmodifiableList(savedQueries_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000200);
}
result.savedQueries_ = savedQueries_;
} else {
result.savedQueries_ = savedQueriesBuilder_.build();
}
- if (encryptionSpecBuilder_ == null) {
- result.encryptionSpec_ = encryptionSpec_;
- } else {
- result.encryptionSpec_ = encryptionSpecBuilder_.build();
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Dataset result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.displayName_ = displayName_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.description_ = description_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.metadataSchemaUri_ = metadataSchemaUri_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.etag_ = etag_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.encryptionSpec_ =
+ encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.metadataArtifact_ = metadataArtifact_;
}
- result.metadataArtifact_ = metadataArtifact_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -1341,18 +1369,22 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Dataset other) {
if (other == com.google.cloud.aiplatform.v1.Dataset.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getMetadataSchemaUri().isEmpty()) {
metadataSchemaUri_ = other.metadataSchemaUri_;
+ bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasMetadata()) {
@@ -1366,14 +1398,16 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Dataset other) {
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000080;
onChanged();
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000100;
if (savedQueriesBuilder_ == null) {
if (!other.savedQueries_.isEmpty()) {
if (savedQueries_.isEmpty()) {
savedQueries_ = other.savedQueries_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureSavedQueriesIsMutable();
savedQueries_.addAll(other.savedQueries_);
@@ -1386,7 +1420,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Dataset other) {
savedQueriesBuilder_.dispose();
savedQueriesBuilder_ = null;
savedQueries_ = other.savedQueries_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000200);
savedQueriesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getSavedQueriesFieldBuilder()
@@ -1401,6 +1435,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Dataset other) {
}
if (!other.getMetadataArtifact().isEmpty()) {
metadataArtifact_ = other.metadataArtifact_;
+ bitField0_ |= 0x00000800;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -1432,37 +1467,37 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
metadataSchemaUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 26
case 34:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000020;
break;
} // case 34
case 42:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 42
case 50:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000080;
break;
} // case 50
case 58:
@@ -1474,12 +1509,13 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000100;
break;
} // case 58
case 66:
{
input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 66
case 74:
@@ -1498,19 +1534,19 @@ public Builder mergeFrom(
case 90:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000400;
break;
} // case 90
case 130:
{
description_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 130
case 138:
{
metadataArtifact_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000800;
break;
} // case 138
default:
@@ -1593,8 +1629,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1610,8 +1646,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1632,8 +1668,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1705,8 +1741,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1724,8 +1760,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1748,8 +1784,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1815,8 +1851,8 @@ public Builder setDescription(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
description_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1832,8 +1868,8 @@ public Builder setDescription(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDescription() {
-
description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -1854,8 +1890,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
description_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1930,8 +1966,8 @@ public Builder setMetadataSchemaUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
metadataSchemaUri_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1950,8 +1986,8 @@ public Builder setMetadataSchemaUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearMetadataSchemaUri() {
-
metadataSchemaUri_ = getDefaultInstance().getMetadataSchemaUri();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -1975,8 +2011,8 @@ public Builder setMetadataSchemaUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
metadataSchemaUri_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1999,7 +2035,7 @@ public Builder setMetadataSchemaUriBytes(com.google.protobuf.ByteString value) {
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return metadataBuilder_ != null || metadata_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -2034,11 +2070,11 @@ public Builder setMetadata(com.google.protobuf.Value value) {
throw new NullPointerException();
}
metadata_ = value;
- onChanged();
} else {
metadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -2053,11 +2089,11 @@ public Builder setMetadata(com.google.protobuf.Value value) {
public Builder setMetadata(com.google.protobuf.Value.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
- onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -2071,17 +2107,18 @@ public Builder setMetadata(com.google.protobuf.Value.Builder builderForValue) {
*/
public Builder mergeMetadata(com.google.protobuf.Value value) {
if (metadataBuilder_ == null) {
- if (metadata_ != null) {
- metadata_ =
- com.google.protobuf.Value.newBuilder(metadata_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && metadata_ != null
+ && metadata_ != com.google.protobuf.Value.getDefaultInstance()) {
+ getMetadataBuilder().mergeFrom(value);
} else {
metadata_ = value;
}
- onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -2094,14 +2131,13 @@ public Builder mergeMetadata(com.google.protobuf.Value value) {
* .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
*/
public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = null;
- onChanged();
- } else {
- metadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2114,7 +2150,7 @@ public Builder clearMetadata() {
* .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
*/
public com.google.protobuf.Value.Builder getMetadataBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
@@ -2180,7 +2216,7 @@ public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder() {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -2221,11 +2257,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2242,11 +2278,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2262,17 +2298,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000020) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2287,14 +2324,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2309,7 +2345,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000020;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -2381,7 +2417,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2422,11 +2458,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2443,11 +2479,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2463,17 +2499,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2488,14 +2525,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2510,7 +2546,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -2626,8 +2662,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2644,8 +2680,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -2667,8 +2703,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2684,14 +2720,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000100;
+ onChanged();
return labels_;
}
@@ -2779,8 +2815,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 7;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -2821,6 +2859,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000100);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -2855,6 +2894,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000100;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -2885,8 +2925,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000100;
return this;
}
/**
@@ -2912,6 +2952,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000100;
return this;
}
@@ -2919,10 +2960,10 @@ public Builder putAllLabels(java.util.Map va
java.util.Collections.emptyList();
private void ensureSavedQueriesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000200) != 0)) {
savedQueries_ =
new java.util.ArrayList(savedQueries_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000200;
}
}
@@ -3204,7 +3245,7 @@ public Builder addAllSavedQueries(
public Builder clearSavedQueries() {
if (savedQueriesBuilder_ == null) {
savedQueries_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
savedQueriesBuilder_.clear();
@@ -3368,7 +3409,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery.Builder addSavedQueriesBuilder(
com.google.cloud.aiplatform.v1.SavedQuery,
com.google.cloud.aiplatform.v1.SavedQuery.Builder,
com.google.cloud.aiplatform.v1.SavedQueryOrBuilder>(
- savedQueries_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ savedQueries_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean());
savedQueries_ = null;
}
return savedQueriesBuilder_;
@@ -3393,7 +3434,7 @@ public com.google.cloud.aiplatform.v1.SavedQuery.Builder addSavedQueriesBuilder(
* @return Whether the encryptionSpec field is set.
*/
public boolean hasEncryptionSpec() {
- return encryptionSpecBuilder_ != null || encryptionSpec_ != null;
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
*
@@ -3432,11 +3473,11 @@ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec v
throw new NullPointerException();
}
encryptionSpec_ = value;
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3453,11 +3494,11 @@ public Builder setEncryptionSpec(
com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) {
if (encryptionSpecBuilder_ == null) {
encryptionSpec_ = builderForValue.build();
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3472,19 +3513,19 @@ public Builder setEncryptionSpec(
*/
public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
if (encryptionSpecBuilder_ == null) {
- if (encryptionSpec_ != null) {
- encryptionSpec_ =
- com.google.cloud.aiplatform.v1.EncryptionSpec.newBuilder(encryptionSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000400) != 0)
+ && encryptionSpec_ != null
+ && encryptionSpec_
+ != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) {
+ getEncryptionSpecBuilder().mergeFrom(value);
} else {
encryptionSpec_ = value;
}
- onChanged();
} else {
encryptionSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3498,14 +3539,13 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
*/
public Builder clearEncryptionSpec() {
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- onChanged();
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3519,7 +3559,7 @@ public Builder clearEncryptionSpec() {
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11;
*/
public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
-
+ bitField0_ |= 0x00000400;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
@@ -3639,8 +3679,8 @@ public Builder setMetadataArtifact(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
metadataArtifact_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -3659,8 +3699,8 @@ public Builder setMetadataArtifact(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearMetadataArtifact() {
-
metadataArtifact_ = getDefaultInstance().getMetadataArtifact();
+ bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
@@ -3684,8 +3724,8 @@ public Builder setMetadataArtifactBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
metadataArtifact_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetOrBuilder.java
index 4ce8d223e2f6..14c8e4f720a0 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DatasetOrBuilder.java
@@ -361,7 +361,6 @@ public interface DatasetOrBuilder
*
* map<string, string> labels = 7;
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java
index 795e7e9ba5a3..ce9835e35586 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DedicatedResources.java
@@ -122,11 +122,13 @@ public com.google.cloud.aiplatform.v1.MachineSpec getMachineSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.MachineSpecOrBuilder getMachineSpecOrBuilder() {
- return getMachineSpec();
+ return machineSpec_ == null
+ ? com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()
+ : machineSpec_;
}
public static final int MIN_REPLICA_COUNT_FIELD_NUMBER = 2;
- private int minReplicaCount_;
+ private int minReplicaCount_ = 0;
/**
*
*
@@ -151,7 +153,7 @@ public int getMinReplicaCount() {
}
public static final int MAX_REPLICA_COUNT_FIELD_NUMBER = 3;
- private int maxReplicaCount_;
+ private int maxReplicaCount_ = 0;
/**
*
*
@@ -181,6 +183,8 @@ public int getMaxReplicaCount() {
}
public static final int AUTOSCALING_METRIC_SPECS_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
private java.util.List
autoscalingMetricSpecs_;
/**
@@ -592,23 +596,21 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (machineSpecBuilder_ == null) {
- machineSpec_ = null;
- } else {
- machineSpec_ = null;
+ bitField0_ = 0;
+ machineSpec_ = null;
+ if (machineSpecBuilder_ != null) {
+ machineSpecBuilder_.dispose();
machineSpecBuilder_ = null;
}
minReplicaCount_ = 0;
-
maxReplicaCount_ = 0;
-
if (autoscalingMetricSpecsBuilder_ == null) {
autoscalingMetricSpecs_ = java.util.Collections.emptyList();
} else {
autoscalingMetricSpecs_ = null;
autoscalingMetricSpecsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -636,25 +638,39 @@ public com.google.cloud.aiplatform.v1.DedicatedResources build() {
public com.google.cloud.aiplatform.v1.DedicatedResources buildPartial() {
com.google.cloud.aiplatform.v1.DedicatedResources result =
new com.google.cloud.aiplatform.v1.DedicatedResources(this);
- int from_bitField0_ = bitField0_;
- if (machineSpecBuilder_ == null) {
- result.machineSpec_ = machineSpec_;
- } else {
- result.machineSpec_ = machineSpecBuilder_.build();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.minReplicaCount_ = minReplicaCount_;
- result.maxReplicaCount_ = maxReplicaCount_;
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.DedicatedResources result) {
if (autoscalingMetricSpecsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
autoscalingMetricSpecs_ = java.util.Collections.unmodifiableList(autoscalingMetricSpecs_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.autoscalingMetricSpecs_ = autoscalingMetricSpecs_;
} else {
result.autoscalingMetricSpecs_ = autoscalingMetricSpecsBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DedicatedResources result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.machineSpec_ =
+ machineSpecBuilder_ == null ? machineSpec_ : machineSpecBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.minReplicaCount_ = minReplicaCount_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.maxReplicaCount_ = maxReplicaCount_;
+ }
}
@java.lang.Override
@@ -716,7 +732,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DedicatedResources other
if (!other.autoscalingMetricSpecs_.isEmpty()) {
if (autoscalingMetricSpecs_.isEmpty()) {
autoscalingMetricSpecs_ = other.autoscalingMetricSpecs_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureAutoscalingMetricSpecsIsMutable();
autoscalingMetricSpecs_.addAll(other.autoscalingMetricSpecs_);
@@ -729,7 +745,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DedicatedResources other
autoscalingMetricSpecsBuilder_.dispose();
autoscalingMetricSpecsBuilder_ = null;
autoscalingMetricSpecs_ = other.autoscalingMetricSpecs_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
autoscalingMetricSpecsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getAutoscalingMetricSpecsFieldBuilder()
@@ -768,19 +784,19 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getMachineSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
minReplicaCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
case 24:
{
maxReplicaCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000004;
break;
} // case 24
case 34:
@@ -837,7 +853,7 @@ public Builder mergeFrom(
* @return Whether the machineSpec field is set.
*/
public boolean hasMachineSpec() {
- return machineSpecBuilder_ != null || machineSpec_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -880,11 +896,11 @@ public Builder setMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value)
throw new NullPointerException();
}
machineSpec_ = value;
- onChanged();
} else {
machineSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -903,11 +919,11 @@ public Builder setMachineSpec(
com.google.cloud.aiplatform.v1.MachineSpec.Builder builderForValue) {
if (machineSpecBuilder_ == null) {
machineSpec_ = builderForValue.build();
- onChanged();
} else {
machineSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -924,19 +940,18 @@ public Builder setMachineSpec(
*/
public Builder mergeMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value) {
if (machineSpecBuilder_ == null) {
- if (machineSpec_ != null) {
- machineSpec_ =
- com.google.cloud.aiplatform.v1.MachineSpec.newBuilder(machineSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && machineSpec_ != null
+ && machineSpec_ != com.google.cloud.aiplatform.v1.MachineSpec.getDefaultInstance()) {
+ getMachineSpecBuilder().mergeFrom(value);
} else {
machineSpec_ = value;
}
- onChanged();
} else {
machineSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -952,14 +967,13 @@ public Builder mergeMachineSpec(com.google.cloud.aiplatform.v1.MachineSpec value
*
*/
public Builder clearMachineSpec() {
- if (machineSpecBuilder_ == null) {
- machineSpec_ = null;
- onChanged();
- } else {
- machineSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ machineSpec_ = null;
+ if (machineSpecBuilder_ != null) {
+ machineSpecBuilder_.dispose();
machineSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -975,7 +989,7 @@ public Builder clearMachineSpec() {
*
*/
public com.google.cloud.aiplatform.v1.MachineSpec.Builder getMachineSpecBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getMachineSpecFieldBuilder().getBuilder();
}
@@ -1074,6 +1088,7 @@ public int getMinReplicaCount() {
public Builder setMinReplicaCount(int value) {
minReplicaCount_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1096,7 +1111,7 @@ public Builder setMinReplicaCount(int value) {
* @return This builder for chaining.
*/
public Builder clearMinReplicaCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
minReplicaCount_ = 0;
onChanged();
return this;
@@ -1157,6 +1172,7 @@ public int getMaxReplicaCount() {
public Builder setMaxReplicaCount(int value) {
maxReplicaCount_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1184,7 +1200,7 @@ public Builder setMaxReplicaCount(int value) {
* @return This builder for chaining.
*/
public Builder clearMaxReplicaCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
maxReplicaCount_ = 0;
onChanged();
return this;
@@ -1194,11 +1210,11 @@ public Builder clearMaxReplicaCount() {
autoscalingMetricSpecs_ = java.util.Collections.emptyList();
private void ensureAutoscalingMetricSpecsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
autoscalingMetricSpecs_ =
new java.util.ArrayList(
autoscalingMetricSpecs_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000008;
}
}
@@ -1650,7 +1666,7 @@ public Builder addAllAutoscalingMetricSpecs(
public Builder clearAutoscalingMetricSpecs() {
if (autoscalingMetricSpecsBuilder_ == null) {
autoscalingMetricSpecs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
autoscalingMetricSpecsBuilder_.clear();
@@ -1925,7 +1941,7 @@ public Builder removeAutoscalingMetricSpecs(int index) {
com.google.cloud.aiplatform.v1.AutoscalingMetricSpec.Builder,
com.google.cloud.aiplatform.v1.AutoscalingMetricSpecOrBuilder>(
autoscalingMetricSpecs_,
- ((bitField0_ & 0x00000001) != 0),
+ ((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
autoscalingMetricSpecs_ = null;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteArtifactRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteArtifactRequest.java
index 81c15cbe261a..b97f6d3fae4b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteArtifactRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteArtifactRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -127,7 +129,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int ETAG_FIELD_NUMBER = 2;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -386,10 +390,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
etag_ = "";
-
return this;
}
@@ -417,12 +420,23 @@ public com.google.cloud.aiplatform.v1.DeleteArtifactRequest build() {
public com.google.cloud.aiplatform.v1.DeleteArtifactRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteArtifactRequest result =
new com.google.cloud.aiplatform.v1.DeleteArtifactRequest(this);
- result.name_ = name_;
- result.etag_ = etag_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteArtifactRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.etag_ = etag_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -471,10 +485,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteArtifactRequest ot
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -506,13 +522,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -532,6 +548,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -605,8 +623,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -626,8 +644,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -652,8 +670,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -725,8 +743,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -744,8 +762,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -768,8 +786,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteBatchPredictionJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteBatchPredictionJobRequest.java
index e4a8cca978f1..7cd829fd5912 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteBatchPredictionJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteBatchPredictionJobRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -325,8 +327,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -355,11 +357,21 @@ public com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest build() {
public com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest result =
new com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -409,6 +421,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteBatchPredictionJob
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -440,7 +453,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -460,6 +473,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -533,8 +548,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -554,8 +569,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -580,8 +595,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteContextRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteContextRequest.java
index 98fe3998584a..aef76d9f0eec 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteContextRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteContextRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -127,7 +129,7 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_;
+ private boolean force_ = false;
/**
*
*
@@ -146,7 +148,9 @@ public boolean getForce() {
}
public static final int ETAG_FIELD_NUMBER = 3;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -414,12 +418,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
force_ = false;
-
etag_ = "";
-
return this;
}
@@ -447,13 +449,26 @@ public com.google.cloud.aiplatform.v1.DeleteContextRequest build() {
public com.google.cloud.aiplatform.v1.DeleteContextRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteContextRequest result =
new com.google.cloud.aiplatform.v1.DeleteContextRequest(this);
- result.name_ = name_;
- result.force_ = force_;
- result.etag_ = etag_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteContextRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.force_ = force_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.etag_ = etag_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -502,6 +517,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteContextRequest oth
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getForce() != false) {
@@ -509,6 +525,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteContextRequest oth
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -540,19 +557,19 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
force_ = input.readBool();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
case 26:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
default:
@@ -572,6 +589,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -645,8 +664,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -666,8 +685,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -692,8 +711,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -731,6 +750,7 @@ public boolean getForce() {
public Builder setForce(boolean value) {
force_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -747,7 +767,7 @@ public Builder setForce(boolean value) {
* @return This builder for chaining.
*/
public Builder clearForce() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
force_ = false;
onChanged();
return this;
@@ -820,8 +840,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -839,8 +859,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -863,8 +883,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteCustomJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteCustomJobRequest.java
index 0c8597349451..d1f42bdc8de4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteCustomJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteCustomJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeleteCustomJobRequest build() {
public com.google.cloud.aiplatform.v1.DeleteCustomJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteCustomJobRequest result =
new com.google.cloud.aiplatform.v1.DeleteCustomJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteCustomJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteCustomJobRequest o
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDataLabelingJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDataLabelingJobRequest.java
index b7bfba1e6481..59cb8573b200 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDataLabelingJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDataLabelingJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest build() {
public com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest result =
new com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteDataLabelingJobReq
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDatasetRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDatasetRequest.java
index 2a1eea8b8bde..8241465e4e42 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDatasetRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteDatasetRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.DeleteDatasetRequest build() {
public com.google.cloud.aiplatform.v1.DeleteDatasetRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteDatasetRequest result =
new com.google.cloud.aiplatform.v1.DeleteDatasetRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteDatasetRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteDatasetRequest oth
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEndpointRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEndpointRequest.java
index e365a34ffc8d..36ceacf27168 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEndpointRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEndpointRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.DeleteEndpointRequest build() {
public com.google.cloud.aiplatform.v1.DeleteEndpointRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteEndpointRequest result =
new com.google.cloud.aiplatform.v1.DeleteEndpointRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteEndpointRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteEndpointRequest ot
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEntityTypeRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEntityTypeRequest.java
index ed003f84873b..c7dffdca6911 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEntityTypeRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteEntityTypeRequest.java
@@ -68,7 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -125,7 +127,7 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_;
+ private boolean force_ = false;
/**
*
*
@@ -350,10 +352,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
force_ = false;
-
return this;
}
@@ -381,12 +382,23 @@ public com.google.cloud.aiplatform.v1.DeleteEntityTypeRequest build() {
public com.google.cloud.aiplatform.v1.DeleteEntityTypeRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteEntityTypeRequest result =
new com.google.cloud.aiplatform.v1.DeleteEntityTypeRequest(this);
- result.name_ = name_;
- result.force_ = force_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteEntityTypeRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.force_ = force_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -435,6 +447,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteEntityTypeRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getForce() != false) {
@@ -469,13 +482,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
force_ = input.readBool();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -495,6 +508,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -568,8 +583,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -589,8 +604,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -615,8 +630,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -654,6 +669,7 @@ public boolean getForce() {
public Builder setForce(boolean value) {
force_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -670,7 +686,7 @@ public Builder setForce(boolean value) {
* @return This builder for chaining.
*/
public Builder clearForce() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
force_ = false;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteExecutionRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteExecutionRequest.java
index 3f851646bc6f..785b29ad78cc 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteExecutionRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteExecutionRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -127,7 +129,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int ETAG_FIELD_NUMBER = 2;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -387,10 +391,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
etag_ = "";
-
return this;
}
@@ -418,12 +421,23 @@ public com.google.cloud.aiplatform.v1.DeleteExecutionRequest build() {
public com.google.cloud.aiplatform.v1.DeleteExecutionRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteExecutionRequest result =
new com.google.cloud.aiplatform.v1.DeleteExecutionRequest(this);
- result.name_ = name_;
- result.etag_ = etag_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteExecutionRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.etag_ = etag_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -472,10 +486,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteExecutionRequest o
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -507,13 +523,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -533,6 +549,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -606,8 +624,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -627,8 +645,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -653,8 +671,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -726,8 +744,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -745,8 +763,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -769,8 +787,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureRequest.java
index 9cb9ed21b55e..3375fb025f9b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeatureRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.DeleteFeatureRequest build() {
public com.google.cloud.aiplatform.v1.DeleteFeatureRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteFeatureRequest result =
new com.google.cloud.aiplatform.v1.DeleteFeatureRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteFeatureRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteFeatureRequest oth
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeaturestoreRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeaturestoreRequest.java
index 09f983e5bbf6..928099e61452 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeaturestoreRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteFeaturestoreRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -126,7 +128,7 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_;
+ private boolean force_ = false;
/**
*
*
@@ -353,10 +355,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
force_ = false;
-
return this;
}
@@ -384,12 +385,23 @@ public com.google.cloud.aiplatform.v1.DeleteFeaturestoreRequest build() {
public com.google.cloud.aiplatform.v1.DeleteFeaturestoreRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteFeaturestoreRequest result =
new com.google.cloud.aiplatform.v1.DeleteFeaturestoreRequest(this);
- result.name_ = name_;
- result.force_ = force_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteFeaturestoreRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.force_ = force_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -438,6 +450,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteFeaturestoreReques
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getForce() != false) {
@@ -472,13 +485,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
force_ = input.readBool();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -498,6 +511,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -571,8 +586,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -592,8 +607,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -618,8 +633,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -659,6 +674,7 @@ public boolean getForce() {
public Builder setForce(boolean value) {
force_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -676,7 +692,7 @@ public Builder setForce(boolean value) {
* @return This builder for chaining.
*/
public Builder clearForce() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
force_ = false;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteHyperparameterTuningJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteHyperparameterTuningJobRequest.java
index 457305575e77..8af65a7f7717 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteHyperparameterTuningJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteHyperparameterTuningJobRequest.java
@@ -71,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -328,8 +330,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -359,11 +361,21 @@ public com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest build
public com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest result =
new com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -415,6 +427,7 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -446,7 +459,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -466,6 +479,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -539,8 +554,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -560,8 +575,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -586,8 +601,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexEndpointRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexEndpointRequest.java
index 6bb75037c92c..49d6a44c7a82 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexEndpointRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexEndpointRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest build() {
public com.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest result =
new com.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteIndexEndpointReque
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexRequest.java
index 90de3f458080..e93cb286c69e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteIndexRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.DeleteIndexRequest build() {
public com.google.cloud.aiplatform.v1.DeleteIndexRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteIndexRequest result =
new com.google.cloud.aiplatform.v1.DeleteIndexRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteIndexRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteIndexRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreOperationMetadata.java
index 713f9fa83d07..9162a4a8b54a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreOperationMetadata.java
@@ -114,7 +114,9 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
private byte memoizedIsInitialized = -1;
@@ -323,10 +325,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
return this;
@@ -358,15 +360,22 @@ public com.google.cloud.aiplatform.v1.DeleteMetadataStoreOperationMetadata build
public com.google.cloud.aiplatform.v1.DeleteMetadataStoreOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.DeleteMetadataStoreOperationMetadata result =
new com.google.cloud.aiplatform.v1.DeleteMetadataStoreOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteMetadataStoreOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -448,7 +457,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -468,6 +477,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -486,7 +497,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -524,11 +535,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -544,11 +555,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -563,19 +574,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -588,14 +599,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -609,7 +619,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java
index 60794a00b0c4..2a3d83f0f71f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteMetadataStoreRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -126,7 +128,7 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_;
+ private boolean force_ = false;
/**
*
*
@@ -354,10 +356,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
force_ = false;
-
return this;
}
@@ -385,12 +386,23 @@ public com.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest build() {
public com.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest result =
new com.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest(this);
- result.name_ = name_;
- result.force_ = force_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.force_ = force_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -439,6 +451,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteMetadataStoreReque
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getForce() != false) {
@@ -473,13 +486,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
force_ = input.readBool();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -499,6 +512,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -572,8 +587,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -593,8 +608,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -619,8 +634,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -662,6 +677,7 @@ public boolean getForce() {
public Builder setForce(boolean value) {
force_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -680,7 +696,7 @@ public Builder setForce(boolean value) {
*/
@java.lang.Deprecated
public Builder clearForce() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
force_ = false;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelDeploymentMonitoringJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelDeploymentMonitoringJobRequest.java
index e4a587f5e106..cec89a18210a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelDeploymentMonitoringJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelDeploymentMonitoringJobRequest.java
@@ -71,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -330,8 +332,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -362,11 +364,21 @@ public com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest
public com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest result =
new com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -419,6 +431,7 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -450,7 +463,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -470,6 +483,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -543,8 +558,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -564,8 +579,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -590,8 +605,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelRequest.java
index 3f49520036bc..af876c893f81 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -321,8 +323,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -350,11 +352,20 @@ public com.google.cloud.aiplatform.v1.DeleteModelRequest build() {
public com.google.cloud.aiplatform.v1.DeleteModelRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteModelRequest result =
new com.google.cloud.aiplatform.v1.DeleteModelRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteModelRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -403,6 +414,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteModelRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -434,7 +446,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -454,6 +466,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -524,8 +538,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -544,8 +558,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -569,8 +583,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelVersionRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelVersionRequest.java
index 6d406e4ac0c6..c6b3664f0d1a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelVersionRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteModelVersionRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeleteModelVersionRequest build() {
public com.google.cloud.aiplatform.v1.DeleteModelVersionRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteModelVersionRequest result =
new com.google.cloud.aiplatform.v1.DeleteModelVersionRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteModelVersionRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteModelVersionReques
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteOperationMetadata.java
index 63fb7ca64041..b707540af57c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteOperationMetadata.java
@@ -111,7 +111,9 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
private byte memoizedIsInitialized = -1;
@@ -317,10 +319,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
return this;
@@ -350,15 +352,21 @@ public com.google.cloud.aiplatform.v1.DeleteOperationMetadata build() {
public com.google.cloud.aiplatform.v1.DeleteOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.DeleteOperationMetadata result =
new com.google.cloud.aiplatform.v1.DeleteOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -437,7 +445,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +465,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -475,7 +485,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -513,11 +523,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -533,11 +543,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -552,19 +562,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -577,14 +587,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -598,7 +607,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeletePipelineJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeletePipelineJobRequest.java
index f9534aaaf904..74cc47c1b704 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeletePipelineJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeletePipelineJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeletePipelineJobRequest build() {
public com.google.cloud.aiplatform.v1.DeletePipelineJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeletePipelineJobRequest result =
new com.google.cloud.aiplatform.v1.DeletePipelineJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeletePipelineJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeletePipelineJobRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteSpecialistPoolRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteSpecialistPoolRequest.java
index beafd0fff05a..1f0d0f8bd17d 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteSpecialistPoolRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteSpecialistPoolRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -124,7 +126,7 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int FORCE_FIELD_NUMBER = 2;
- private boolean force_;
+ private boolean force_ = false;
/**
*
*
@@ -351,10 +353,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
force_ = false;
-
return this;
}
@@ -382,12 +383,23 @@ public com.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest build() {
public com.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest result =
new com.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest(this);
- result.name_ = name_;
- result.force_ = force_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.force_ = force_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -436,6 +448,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequ
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getForce() != false) {
@@ -470,13 +483,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
force_ = input.readBool();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -496,6 +509,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -566,8 +581,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -586,8 +601,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -611,8 +626,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -652,6 +667,7 @@ public boolean getForce() {
public Builder setForce(boolean value) {
force_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -669,7 +685,7 @@ public Builder setForce(boolean value) {
* @return This builder for chaining.
*/
public Builder clearForce() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
force_ = false;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteStudyRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteStudyRequest.java
index beaf05ec7c7e..06210485b491 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteStudyRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteStudyRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -321,8 +323,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -350,11 +352,20 @@ public com.google.cloud.aiplatform.v1.DeleteStudyRequest build() {
public com.google.cloud.aiplatform.v1.DeleteStudyRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteStudyRequest result =
new com.google.cloud.aiplatform.v1.DeleteStudyRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteStudyRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -403,6 +414,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteStudyRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -434,7 +446,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -454,6 +466,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -524,8 +538,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -544,8 +558,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -569,8 +583,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardExperimentRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardExperimentRequest.java
index d024cd76d004..629226d8bca6 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardExperimentRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardExperimentRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -327,8 +329,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -357,11 +359,21 @@ public com.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest build()
public com.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest result =
new com.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -412,6 +424,7 @@ public Builder mergeFrom(
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -443,7 +456,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -463,6 +476,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -536,8 +551,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -557,8 +572,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -583,8 +598,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRequest.java
index d8a69d9c6879..21e7097f69e4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeleteTensorboardRequest build() {
public com.google.cloud.aiplatform.v1.DeleteTensorboardRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteTensorboardRequest result =
new com.google.cloud.aiplatform.v1.DeleteTensorboardRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteTensorboardRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteTensorboardRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRunRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRunRequest.java
index d8ebfed9e999..0db0b6b8d705 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRunRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardRunRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest build() {
public com.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest result =
new com.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteTensorboardRunRequ
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardTimeSeriesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardTimeSeriesRequest.java
index c1fcfa0ea390..a9b715f67f44 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardTimeSeriesRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTensorboardTimeSeriesRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -327,8 +329,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -357,11 +359,21 @@ public com.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest build()
public com.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest result =
new com.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -412,6 +424,7 @@ public Builder mergeFrom(
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -443,7 +456,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -463,6 +476,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -536,8 +551,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -557,8 +572,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -583,8 +598,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrainingPipelineRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrainingPipelineRequest.java
index 4a947ede8a43..3d522e9d7792 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrainingPipelineRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrainingPipelineRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -354,11 +356,21 @@ public com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest build() {
public com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest result =
new com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -408,6 +420,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteTrainingPipelineRe
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -439,7 +452,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -459,6 +472,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -532,8 +547,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -553,8 +568,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -579,8 +594,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrialRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrialRequest.java
index 881fbad7adaa..11570ffb8328 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrialRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeleteTrialRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.DeleteTrialRequest build() {
public com.google.cloud.aiplatform.v1.DeleteTrialRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeleteTrialRequest result =
new com.google.cloud.aiplatform.v1.DeleteTrialRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeleteTrialRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeleteTrialRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexOperationMetadata.java
index ef49e35e3a6d..0b269fd78365 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexOperationMetadata.java
@@ -114,11 +114,15 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
public static final int DEPLOYED_INDEX_ID_FIELD_NUMBER = 2;
- private volatile java.lang.Object deployedIndexId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object deployedIndexId_ = "";
/**
*
*
@@ -379,14 +383,13 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
deployedIndexId_ = "";
-
return this;
}
@@ -414,16 +417,24 @@ public com.google.cloud.aiplatform.v1.DeployIndexOperationMetadata build() {
public com.google.cloud.aiplatform.v1.DeployIndexOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.DeployIndexOperationMetadata result =
new com.google.cloud.aiplatform.v1.DeployIndexOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.deployedIndexId_ = deployedIndexId_;
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployIndexOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.deployedIndexId_ = deployedIndexId_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -475,6 +486,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployIndexOperationMeta
}
if (!other.getDeployedIndexId().isEmpty()) {
deployedIndexId_ = other.deployedIndexId_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -506,13 +518,13 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
deployedIndexId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -532,6 +544,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -550,7 +564,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -588,11 +602,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -608,11 +622,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -627,19 +641,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -652,14 +666,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -673,7 +686,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
@@ -783,8 +796,8 @@ public Builder setDeployedIndexId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
deployedIndexId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -800,8 +813,8 @@ public Builder setDeployedIndexId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDeployedIndexId() {
-
deployedIndexId_ = getDefaultInstance().getDeployedIndexId();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -822,8 +835,8 @@ public Builder setDeployedIndexIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
deployedIndexId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexRequest.java
index 478a79d64b93..ed6320a4ea2c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int INDEX_ENDPOINT_FIELD_NUMBER = 1;
- private volatile java.lang.Object indexEndpoint_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object indexEndpoint_ = "";
/**
*
*
@@ -176,7 +178,9 @@ public com.google.cloud.aiplatform.v1.DeployedIndex getDeployedIndex() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.DeployedIndexOrBuilder getDeployedIndexOrBuilder() {
- return getDeployedIndex();
+ return deployedIndex_ == null
+ ? com.google.cloud.aiplatform.v1.DeployedIndex.getDefaultInstance()
+ : deployedIndex_;
}
private byte memoizedIsInitialized = -1;
@@ -391,12 +395,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
indexEndpoint_ = "";
-
- if (deployedIndexBuilder_ == null) {
- deployedIndex_ = null;
- } else {
- deployedIndex_ = null;
+ deployedIndex_ = null;
+ if (deployedIndexBuilder_ != null) {
+ deployedIndexBuilder_.dispose();
deployedIndexBuilder_ = null;
}
return this;
@@ -426,16 +429,24 @@ public com.google.cloud.aiplatform.v1.DeployIndexRequest build() {
public com.google.cloud.aiplatform.v1.DeployIndexRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeployIndexRequest result =
new com.google.cloud.aiplatform.v1.DeployIndexRequest(this);
- result.indexEndpoint_ = indexEndpoint_;
- if (deployedIndexBuilder_ == null) {
- result.deployedIndex_ = deployedIndex_;
- } else {
- result.deployedIndex_ = deployedIndexBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployIndexRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.indexEndpoint_ = indexEndpoint_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.deployedIndex_ =
+ deployedIndexBuilder_ == null ? deployedIndex_ : deployedIndexBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -484,6 +495,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployIndexRequest other
return this;
if (!other.getIndexEndpoint().isEmpty()) {
indexEndpoint_ = other.indexEndpoint_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDeployedIndex()) {
@@ -518,13 +530,13 @@ public Builder mergeFrom(
case 10:
{
indexEndpoint_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getDeployedIndexFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -544,6 +556,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object indexEndpoint_ = "";
/**
*
@@ -617,8 +631,8 @@ public Builder setIndexEndpoint(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
indexEndpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -638,8 +652,8 @@ public Builder setIndexEndpoint(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearIndexEndpoint() {
-
indexEndpoint_ = getDefaultInstance().getIndexEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -664,8 +678,8 @@ public Builder setIndexEndpointBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
indexEndpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -690,7 +704,7 @@ public Builder setIndexEndpointBytes(com.google.protobuf.ByteString value) {
* @return Whether the deployedIndex field is set.
*/
public boolean hasDeployedIndex() {
- return deployedIndexBuilder_ != null || deployedIndex_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -731,11 +745,11 @@ public Builder setDeployedIndex(com.google.cloud.aiplatform.v1.DeployedIndex val
throw new NullPointerException();
}
deployedIndex_ = value;
- onChanged();
} else {
deployedIndexBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -753,11 +767,11 @@ public Builder setDeployedIndex(
com.google.cloud.aiplatform.v1.DeployedIndex.Builder builderForValue) {
if (deployedIndexBuilder_ == null) {
deployedIndex_ = builderForValue.build();
- onChanged();
} else {
deployedIndexBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -773,19 +787,19 @@ public Builder setDeployedIndex(
*/
public Builder mergeDeployedIndex(com.google.cloud.aiplatform.v1.DeployedIndex value) {
if (deployedIndexBuilder_ == null) {
- if (deployedIndex_ != null) {
- deployedIndex_ =
- com.google.cloud.aiplatform.v1.DeployedIndex.newBuilder(deployedIndex_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && deployedIndex_ != null
+ && deployedIndex_
+ != com.google.cloud.aiplatform.v1.DeployedIndex.getDefaultInstance()) {
+ getDeployedIndexBuilder().mergeFrom(value);
} else {
deployedIndex_ = value;
}
- onChanged();
} else {
deployedIndexBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -800,14 +814,13 @@ public Builder mergeDeployedIndex(com.google.cloud.aiplatform.v1.DeployedIndex v
*
*/
public Builder clearDeployedIndex() {
- if (deployedIndexBuilder_ == null) {
- deployedIndex_ = null;
- onChanged();
- } else {
- deployedIndex_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ deployedIndex_ = null;
+ if (deployedIndexBuilder_ != null) {
+ deployedIndexBuilder_.dispose();
deployedIndexBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -822,7 +835,7 @@ public Builder clearDeployedIndex() {
*
*/
public com.google.cloud.aiplatform.v1.DeployedIndex.Builder getDeployedIndexBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getDeployedIndexFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexResponse.java
index db7d3950c2af..f533f4ffc76b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexResponse.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployIndexResponse.java
@@ -111,7 +111,9 @@ public com.google.cloud.aiplatform.v1.DeployedIndex getDeployedIndex() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.DeployedIndexOrBuilder getDeployedIndexOrBuilder() {
- return getDeployedIndex();
+ return deployedIndex_ == null
+ ? com.google.cloud.aiplatform.v1.DeployedIndex.getDefaultInstance()
+ : deployedIndex_;
}
private byte memoizedIsInitialized = -1;
@@ -317,10 +319,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (deployedIndexBuilder_ == null) {
- deployedIndex_ = null;
- } else {
- deployedIndex_ = null;
+ bitField0_ = 0;
+ deployedIndex_ = null;
+ if (deployedIndexBuilder_ != null) {
+ deployedIndexBuilder_.dispose();
deployedIndexBuilder_ = null;
}
return this;
@@ -350,15 +352,21 @@ public com.google.cloud.aiplatform.v1.DeployIndexResponse build() {
public com.google.cloud.aiplatform.v1.DeployIndexResponse buildPartial() {
com.google.cloud.aiplatform.v1.DeployIndexResponse result =
new com.google.cloud.aiplatform.v1.DeployIndexResponse(this);
- if (deployedIndexBuilder_ == null) {
- result.deployedIndex_ = deployedIndex_;
- } else {
- result.deployedIndex_ = deployedIndexBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployIndexResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.deployedIndex_ =
+ deployedIndexBuilder_ == null ? deployedIndex_ : deployedIndexBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -437,7 +445,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getDeployedIndexFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +465,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.DeployedIndex deployedIndex_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.DeployedIndex,
@@ -475,7 +485,7 @@ public Builder mergeFrom(
* @return Whether the deployedIndex field is set.
*/
public boolean hasDeployedIndex() {
- return deployedIndexBuilder_ != null || deployedIndex_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -512,11 +522,11 @@ public Builder setDeployedIndex(com.google.cloud.aiplatform.v1.DeployedIndex val
throw new NullPointerException();
}
deployedIndex_ = value;
- onChanged();
} else {
deployedIndexBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -532,11 +542,11 @@ public Builder setDeployedIndex(
com.google.cloud.aiplatform.v1.DeployedIndex.Builder builderForValue) {
if (deployedIndexBuilder_ == null) {
deployedIndex_ = builderForValue.build();
- onChanged();
} else {
deployedIndexBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -550,19 +560,19 @@ public Builder setDeployedIndex(
*/
public Builder mergeDeployedIndex(com.google.cloud.aiplatform.v1.DeployedIndex value) {
if (deployedIndexBuilder_ == null) {
- if (deployedIndex_ != null) {
- deployedIndex_ =
- com.google.cloud.aiplatform.v1.DeployedIndex.newBuilder(deployedIndex_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && deployedIndex_ != null
+ && deployedIndex_
+ != com.google.cloud.aiplatform.v1.DeployedIndex.getDefaultInstance()) {
+ getDeployedIndexBuilder().mergeFrom(value);
} else {
deployedIndex_ = value;
}
- onChanged();
} else {
deployedIndexBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -575,14 +585,13 @@ public Builder mergeDeployedIndex(com.google.cloud.aiplatform.v1.DeployedIndex v
* .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 1;
*/
public Builder clearDeployedIndex() {
- if (deployedIndexBuilder_ == null) {
- deployedIndex_ = null;
- onChanged();
- } else {
- deployedIndex_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ deployedIndex_ = null;
+ if (deployedIndexBuilder_ != null) {
+ deployedIndexBuilder_.dispose();
deployedIndexBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -595,7 +604,7 @@ public Builder clearDeployedIndex() {
* .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 1;
*/
public com.google.cloud.aiplatform.v1.DeployedIndex.Builder getDeployedIndexBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getDeployedIndexFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelOperationMetadata.java
index 035e998b0759..7c419943cff4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelOperationMetadata.java
@@ -112,7 +112,9 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
private byte memoizedIsInitialized = -1;
@@ -319,10 +321,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
return this;
@@ -352,15 +354,21 @@ public com.google.cloud.aiplatform.v1.DeployModelOperationMetadata build() {
public com.google.cloud.aiplatform.v1.DeployModelOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.DeployModelOperationMetadata result =
new com.google.cloud.aiplatform.v1.DeployModelOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployModelOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -439,7 +447,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -459,6 +467,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -477,7 +487,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -515,11 +525,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -535,11 +545,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -554,19 +564,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -579,14 +589,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -600,7 +609,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelRequest.java
index a9fd2909e8a3..274541a7e3c5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelRequest.java
@@ -80,7 +80,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int ENDPOINT_FIELD_NUMBER = 1;
- private volatile java.lang.Object endpoint_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object endpoint_ = "";
/**
*
*
@@ -199,7 +201,9 @@ public com.google.cloud.aiplatform.v1.DeployedModel getDeployedModel() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.DeployedModelOrBuilder getDeployedModelOrBuilder() {
- return getDeployedModel();
+ return deployedModel_ == null
+ ? com.google.cloud.aiplatform.v1.DeployedModel.getDefaultInstance()
+ : deployedModel_;
}
public static final int TRAFFIC_SPLIT_FIELD_NUMBER = 3;
@@ -215,6 +219,7 @@ private static final class TrafficSplitDefaultEntryHolder {
0);
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField trafficSplit_;
private com.google.protobuf.MapField
@@ -591,12 +596,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
endpoint_ = "";
-
- if (deployedModelBuilder_ == null) {
- deployedModel_ = null;
- } else {
- deployedModel_ = null;
+ deployedModel_ = null;
+ if (deployedModelBuilder_ != null) {
+ deployedModelBuilder_.dispose();
deployedModelBuilder_ = null;
}
internalGetMutableTrafficSplit().clear();
@@ -627,19 +631,28 @@ public com.google.cloud.aiplatform.v1.DeployModelRequest build() {
public com.google.cloud.aiplatform.v1.DeployModelRequest buildPartial() {
com.google.cloud.aiplatform.v1.DeployModelRequest result =
new com.google.cloud.aiplatform.v1.DeployModelRequest(this);
- int from_bitField0_ = bitField0_;
- result.endpoint_ = endpoint_;
- if (deployedModelBuilder_ == null) {
- result.deployedModel_ = deployedModel_;
- } else {
- result.deployedModel_ = deployedModelBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.trafficSplit_ = internalGetTrafficSplit();
- result.trafficSplit_.makeImmutable();
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployModelRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.endpoint_ = endpoint_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.deployedModel_ =
+ deployedModelBuilder_ == null ? deployedModel_ : deployedModelBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.trafficSplit_ = internalGetTrafficSplit();
+ result.trafficSplit_.makeImmutable();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -688,12 +701,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployModelRequest other
return this;
if (!other.getEndpoint().isEmpty()) {
endpoint_ = other.endpoint_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasDeployedModel()) {
mergeDeployedModel(other.getDeployedModel());
}
internalGetMutableTrafficSplit().mergeFrom(other.internalGetTrafficSplit());
+ bitField0_ |= 0x00000004;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -723,13 +738,13 @@ public Builder mergeFrom(
case 10:
{
endpoint_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getDeployedModelFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
@@ -741,6 +756,7 @@ public Builder mergeFrom(
internalGetMutableTrafficSplit()
.getMutableMap()
.put(trafficSplit__.getKey(), trafficSplit__.getValue());
+ bitField0_ |= 0x00000004;
break;
} // case 26
default:
@@ -835,8 +851,8 @@ public Builder setEndpoint(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
endpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -856,8 +872,8 @@ public Builder setEndpoint(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEndpoint() {
-
endpoint_ = getDefaultInstance().getEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -882,8 +898,8 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
endpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -912,7 +928,7 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
* @return Whether the deployedModel field is set.
*/
public boolean hasDeployedModel() {
- return deployedModelBuilder_ != null || deployedModel_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -961,11 +977,11 @@ public Builder setDeployedModel(com.google.cloud.aiplatform.v1.DeployedModel val
throw new NullPointerException();
}
deployedModel_ = value;
- onChanged();
} else {
deployedModelBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -987,11 +1003,11 @@ public Builder setDeployedModel(
com.google.cloud.aiplatform.v1.DeployedModel.Builder builderForValue) {
if (deployedModelBuilder_ == null) {
deployedModel_ = builderForValue.build();
- onChanged();
} else {
deployedModelBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1011,19 +1027,19 @@ public Builder setDeployedModel(
*/
public Builder mergeDeployedModel(com.google.cloud.aiplatform.v1.DeployedModel value) {
if (deployedModelBuilder_ == null) {
- if (deployedModel_ != null) {
- deployedModel_ =
- com.google.cloud.aiplatform.v1.DeployedModel.newBuilder(deployedModel_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && deployedModel_ != null
+ && deployedModel_
+ != com.google.cloud.aiplatform.v1.DeployedModel.getDefaultInstance()) {
+ getDeployedModelBuilder().mergeFrom(value);
} else {
deployedModel_ = value;
}
- onChanged();
} else {
deployedModelBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1042,14 +1058,13 @@ public Builder mergeDeployedModel(com.google.cloud.aiplatform.v1.DeployedModel v
*
*/
public Builder clearDeployedModel() {
- if (deployedModelBuilder_ == null) {
- deployedModel_ = null;
- onChanged();
- } else {
- deployedModel_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ deployedModel_ = null;
+ if (deployedModelBuilder_ != null) {
+ deployedModelBuilder_.dispose();
deployedModelBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1068,7 +1083,7 @@ public Builder clearDeployedModel() {
*
*/
public com.google.cloud.aiplatform.v1.DeployedModel.Builder getDeployedModelBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getDeployedModelFieldBuilder().getBuilder();
}
@@ -1141,8 +1156,6 @@ public com.google.cloud.aiplatform.v1.DeployedModelOrBuilder getDeployedModelOrB
private com.google.protobuf.MapField
internalGetMutableTrafficSplit() {
- onChanged();
- ;
if (trafficSplit_ == null) {
trafficSplit_ =
com.google.protobuf.MapField.newMapField(TrafficSplitDefaultEntryHolder.defaultEntry);
@@ -1150,6 +1163,8 @@ public com.google.cloud.aiplatform.v1.DeployedModelOrBuilder getDeployedModelOrB
if (!trafficSplit_.isMutable()) {
trafficSplit_ = trafficSplit_.copy();
}
+ bitField0_ |= 0x00000004;
+ onChanged();
return trafficSplit_;
}
@@ -1270,6 +1285,7 @@ public int getTrafficSplitOrThrow(java.lang.String key) {
}
public Builder clearTrafficSplit() {
+ bitField0_ = (bitField0_ & ~0x00000004);
internalGetMutableTrafficSplit().getMutableMap().clear();
return this;
}
@@ -1302,6 +1318,7 @@ public Builder removeTrafficSplit(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableTrafficSplit() {
+ bitField0_ |= 0x00000004;
return internalGetMutableTrafficSplit().getMutableMap();
}
/**
@@ -1329,6 +1346,7 @@ public Builder putTrafficSplit(java.lang.String key, int value) {
}
internalGetMutableTrafficSplit().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000004;
return this;
}
/**
@@ -1352,6 +1370,7 @@ public Builder putTrafficSplit(java.lang.String key, int value) {
*/
public Builder putAllTrafficSplit(java.util.Map values) {
internalGetMutableTrafficSplit().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000004;
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelResponse.java
index c5c72ab5b4f9..50913158f1f6 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelResponse.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployModelResponse.java
@@ -111,7 +111,9 @@ public com.google.cloud.aiplatform.v1.DeployedModel getDeployedModel() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.DeployedModelOrBuilder getDeployedModelOrBuilder() {
- return getDeployedModel();
+ return deployedModel_ == null
+ ? com.google.cloud.aiplatform.v1.DeployedModel.getDefaultInstance()
+ : deployedModel_;
}
private byte memoizedIsInitialized = -1;
@@ -317,10 +319,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (deployedModelBuilder_ == null) {
- deployedModel_ = null;
- } else {
- deployedModel_ = null;
+ bitField0_ = 0;
+ deployedModel_ = null;
+ if (deployedModelBuilder_ != null) {
+ deployedModelBuilder_.dispose();
deployedModelBuilder_ = null;
}
return this;
@@ -350,15 +352,21 @@ public com.google.cloud.aiplatform.v1.DeployModelResponse build() {
public com.google.cloud.aiplatform.v1.DeployModelResponse buildPartial() {
com.google.cloud.aiplatform.v1.DeployModelResponse result =
new com.google.cloud.aiplatform.v1.DeployModelResponse(this);
- if (deployedModelBuilder_ == null) {
- result.deployedModel_ = deployedModel_;
- } else {
- result.deployedModel_ = deployedModelBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployModelResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.deployedModel_ =
+ deployedModelBuilder_ == null ? deployedModel_ : deployedModelBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -437,7 +445,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getDeployedModelFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +465,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.DeployedModel deployedModel_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.DeployedModel,
@@ -475,7 +485,7 @@ public Builder mergeFrom(
* @return Whether the deployedModel field is set.
*/
public boolean hasDeployedModel() {
- return deployedModelBuilder_ != null || deployedModel_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -512,11 +522,11 @@ public Builder setDeployedModel(com.google.cloud.aiplatform.v1.DeployedModel val
throw new NullPointerException();
}
deployedModel_ = value;
- onChanged();
} else {
deployedModelBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -532,11 +542,11 @@ public Builder setDeployedModel(
com.google.cloud.aiplatform.v1.DeployedModel.Builder builderForValue) {
if (deployedModelBuilder_ == null) {
deployedModel_ = builderForValue.build();
- onChanged();
} else {
deployedModelBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -550,19 +560,19 @@ public Builder setDeployedModel(
*/
public Builder mergeDeployedModel(com.google.cloud.aiplatform.v1.DeployedModel value) {
if (deployedModelBuilder_ == null) {
- if (deployedModel_ != null) {
- deployedModel_ =
- com.google.cloud.aiplatform.v1.DeployedModel.newBuilder(deployedModel_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && deployedModel_ != null
+ && deployedModel_
+ != com.google.cloud.aiplatform.v1.DeployedModel.getDefaultInstance()) {
+ getDeployedModelBuilder().mergeFrom(value);
} else {
deployedModel_ = value;
}
- onChanged();
} else {
deployedModelBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -575,14 +585,13 @@ public Builder mergeDeployedModel(com.google.cloud.aiplatform.v1.DeployedModel v
* .google.cloud.aiplatform.v1.DeployedModel deployed_model = 1;
*/
public Builder clearDeployedModel() {
- if (deployedModelBuilder_ == null) {
- deployedModel_ = null;
- onChanged();
- } else {
- deployedModel_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ deployedModel_ = null;
+ if (deployedModelBuilder_ != null) {
+ deployedModelBuilder_.dispose();
deployedModelBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -595,7 +604,7 @@ public Builder clearDeployedModel() {
* .google.cloud.aiplatform.v1.DeployedModel deployed_model = 1;
*/
public com.google.cloud.aiplatform.v1.DeployedModel.Builder getDeployedModelBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getDeployedModelFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java
index fda76ef1dbf3..64568deb36c9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndex.java
@@ -72,7 +72,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int ID_FIELD_NUMBER = 1;
- private volatile java.lang.Object id_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object id_ = "";
/**
*
*
@@ -127,7 +129,9 @@ public com.google.protobuf.ByteString getIdBytes() {
}
public static final int INDEX_FIELD_NUMBER = 2;
- private volatile java.lang.Object index_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object index_ = "";
/**
*
*
@@ -182,7 +186,9 @@ public com.google.protobuf.ByteString getIndexBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 3;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -278,7 +284,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int PRIVATE_ENDPOINTS_FIELD_NUMBER = 5;
@@ -342,7 +348,9 @@ public com.google.cloud.aiplatform.v1.IndexPrivateEndpoints getPrivateEndpoints(
@java.lang.Override
public com.google.cloud.aiplatform.v1.IndexPrivateEndpointsOrBuilder
getPrivateEndpointsOrBuilder() {
- return getPrivateEndpoints();
+ return privateEndpoints_ == null
+ ? com.google.cloud.aiplatform.v1.IndexPrivateEndpoints.getDefaultInstance()
+ : privateEndpoints_;
}
public static final int INDEX_SYNC_TIME_FIELD_NUMBER = 6;
@@ -438,7 +446,9 @@ public com.google.protobuf.Timestamp getIndexSyncTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getIndexSyncTimeOrBuilder() {
- return getIndexSyncTime();
+ return indexSyncTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : indexSyncTime_;
}
public static final int AUTOMATIC_RESOURCES_FIELD_NUMBER = 7;
@@ -511,7 +521,9 @@ public com.google.cloud.aiplatform.v1.AutomaticResources getAutomaticResources()
@java.lang.Override
public com.google.cloud.aiplatform.v1.AutomaticResourcesOrBuilder
getAutomaticResourcesOrBuilder() {
- return getAutomaticResources();
+ return automaticResources_ == null
+ ? com.google.cloud.aiplatform.v1.AutomaticResources.getDefaultInstance()
+ : automaticResources_;
}
public static final int DEDICATED_RESOURCES_FIELD_NUMBER = 16;
@@ -602,11 +614,13 @@ public com.google.cloud.aiplatform.v1.DedicatedResources getDedicatedResources()
@java.lang.Override
public com.google.cloud.aiplatform.v1.DedicatedResourcesOrBuilder
getDedicatedResourcesOrBuilder() {
- return getDedicatedResources();
+ return dedicatedResources_ == null
+ ? com.google.cloud.aiplatform.v1.DedicatedResources.getDefaultInstance()
+ : dedicatedResources_;
}
public static final int ENABLE_ACCESS_LOGGING_FIELD_NUMBER = 8;
- private boolean enableAccessLogging_;
+ private boolean enableAccessLogging_ = false;
/**
*
*
@@ -681,10 +695,14 @@ public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig getDeployedIndexAu
@java.lang.Override
public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfigOrBuilder
getDeployedIndexAuthConfigOrBuilder() {
- return getDeployedIndexAuthConfig();
+ return deployedIndexAuthConfig_ == null
+ ? com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.getDefaultInstance()
+ : deployedIndexAuthConfig_;
}
public static final int RESERVED_IP_RANGES_FIELD_NUMBER = 10;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList reservedIpRanges_;
/**
*
@@ -774,7 +792,9 @@ public com.google.protobuf.ByteString getReservedIpRangesBytes(int index) {
}
public static final int DEPLOYMENT_GROUP_FIELD_NUMBER = 11;
- private volatile java.lang.Object deploymentGroup_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object deploymentGroup_ = "";
/**
*
*
@@ -1174,54 +1194,44 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
id_ = "";
-
index_ = "";
-
displayName_ = "";
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (privateEndpointsBuilder_ == null) {
- privateEndpoints_ = null;
- } else {
- privateEndpoints_ = null;
+ privateEndpoints_ = null;
+ if (privateEndpointsBuilder_ != null) {
+ privateEndpointsBuilder_.dispose();
privateEndpointsBuilder_ = null;
}
- if (indexSyncTimeBuilder_ == null) {
- indexSyncTime_ = null;
- } else {
- indexSyncTime_ = null;
+ indexSyncTime_ = null;
+ if (indexSyncTimeBuilder_ != null) {
+ indexSyncTimeBuilder_.dispose();
indexSyncTimeBuilder_ = null;
}
- if (automaticResourcesBuilder_ == null) {
- automaticResources_ = null;
- } else {
- automaticResources_ = null;
+ automaticResources_ = null;
+ if (automaticResourcesBuilder_ != null) {
+ automaticResourcesBuilder_.dispose();
automaticResourcesBuilder_ = null;
}
- if (dedicatedResourcesBuilder_ == null) {
- dedicatedResources_ = null;
- } else {
- dedicatedResources_ = null;
+ dedicatedResources_ = null;
+ if (dedicatedResourcesBuilder_ != null) {
+ dedicatedResourcesBuilder_.dispose();
dedicatedResourcesBuilder_ = null;
}
enableAccessLogging_ = false;
-
- if (deployedIndexAuthConfigBuilder_ == null) {
- deployedIndexAuthConfig_ = null;
- } else {
- deployedIndexAuthConfig_ = null;
+ deployedIndexAuthConfig_ = null;
+ if (deployedIndexAuthConfigBuilder_ != null) {
+ deployedIndexAuthConfigBuilder_.dispose();
deployedIndexAuthConfigBuilder_ = null;
}
reservedIpRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000400);
deploymentGroup_ = "";
-
return this;
}
@@ -1249,49 +1259,68 @@ public com.google.cloud.aiplatform.v1.DeployedIndex build() {
public com.google.cloud.aiplatform.v1.DeployedIndex buildPartial() {
com.google.cloud.aiplatform.v1.DeployedIndex result =
new com.google.cloud.aiplatform.v1.DeployedIndex(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.DeployedIndex result) {
+ if (((bitField0_ & 0x00000400) != 0)) {
+ reservedIpRanges_ = reservedIpRanges_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000400);
+ }
+ result.reservedIpRanges_ = reservedIpRanges_;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedIndex result) {
int from_bitField0_ = bitField0_;
- result.id_ = id_;
- result.index_ = index_;
- result.displayName_ = displayName_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.id_ = id_;
}
- if (privateEndpointsBuilder_ == null) {
- result.privateEndpoints_ = privateEndpoints_;
- } else {
- result.privateEndpoints_ = privateEndpointsBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.index_ = index_;
}
- if (indexSyncTimeBuilder_ == null) {
- result.indexSyncTime_ = indexSyncTime_;
- } else {
- result.indexSyncTime_ = indexSyncTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.displayName_ = displayName_;
}
- if (automaticResourcesBuilder_ == null) {
- result.automaticResources_ = automaticResources_;
- } else {
- result.automaticResources_ = automaticResourcesBuilder_.build();
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
}
- if (dedicatedResourcesBuilder_ == null) {
- result.dedicatedResources_ = dedicatedResources_;
- } else {
- result.dedicatedResources_ = dedicatedResourcesBuilder_.build();
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.privateEndpoints_ =
+ privateEndpointsBuilder_ == null ? privateEndpoints_ : privateEndpointsBuilder_.build();
}
- result.enableAccessLogging_ = enableAccessLogging_;
- if (deployedIndexAuthConfigBuilder_ == null) {
- result.deployedIndexAuthConfig_ = deployedIndexAuthConfig_;
- } else {
- result.deployedIndexAuthConfig_ = deployedIndexAuthConfigBuilder_.build();
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.indexSyncTime_ =
+ indexSyncTimeBuilder_ == null ? indexSyncTime_ : indexSyncTimeBuilder_.build();
}
- if (((bitField0_ & 0x00000001) != 0)) {
- reservedIpRanges_ = reservedIpRanges_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.automaticResources_ =
+ automaticResourcesBuilder_ == null
+ ? automaticResources_
+ : automaticResourcesBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.dedicatedResources_ =
+ dedicatedResourcesBuilder_ == null
+ ? dedicatedResources_
+ : dedicatedResourcesBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.enableAccessLogging_ = enableAccessLogging_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.deployedIndexAuthConfig_ =
+ deployedIndexAuthConfigBuilder_ == null
+ ? deployedIndexAuthConfig_
+ : deployedIndexAuthConfigBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.deploymentGroup_ = deploymentGroup_;
}
- result.reservedIpRanges_ = reservedIpRanges_;
- result.deploymentGroup_ = deploymentGroup_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -1341,14 +1370,17 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedIndex other) {
if (other == com.google.cloud.aiplatform.v1.DeployedIndex.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getIndex().isEmpty()) {
index_ = other.index_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasCreateTime()) {
@@ -1375,7 +1407,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedIndex other) {
if (!other.reservedIpRanges_.isEmpty()) {
if (reservedIpRanges_.isEmpty()) {
reservedIpRanges_ = other.reservedIpRanges_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureReservedIpRangesIsMutable();
reservedIpRanges_.addAll(other.reservedIpRanges_);
@@ -1384,6 +1416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedIndex other) {
}
if (!other.getDeploymentGroup().isEmpty()) {
deploymentGroup_ = other.deploymentGroup_;
+ bitField0_ |= 0x00000800;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -1415,58 +1448,58 @@ public Builder mergeFrom(
case 10:
{
id_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
index_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 34:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
case 42:
{
input.readMessage(
getPrivateEndpointsFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 42
case 50:
{
input.readMessage(getIndexSyncTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000020;
break;
} // case 50
case 58:
{
input.readMessage(
getAutomaticResourcesFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 58
case 64:
{
enableAccessLogging_ = input.readBool();
-
+ bitField0_ |= 0x00000100;
break;
} // case 64
case 74:
{
input.readMessage(
getDeployedIndexAuthConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000200;
break;
} // case 74
case 82:
@@ -1479,14 +1512,14 @@ public Builder mergeFrom(
case 90:
{
deploymentGroup_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000800;
break;
} // case 90
case 130:
{
input.readMessage(
getDedicatedResourcesFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000080;
break;
} // case 130
default:
@@ -1578,8 +1611,8 @@ public Builder setId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
id_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1598,8 +1631,8 @@ public Builder setId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearId() {
-
id_ = getDefaultInstance().getId();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1623,8 +1656,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
id_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1699,8 +1732,8 @@ public Builder setIndex(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
index_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1719,8 +1752,8 @@ public Builder setIndex(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearIndex() {
-
index_ = getDefaultInstance().getIndex();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1744,8 +1777,8 @@ public Builder setIndexBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
index_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1814,8 +1847,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1832,8 +1865,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -1855,8 +1888,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1881,7 +1914,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -1922,11 +1955,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1943,11 +1976,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1963,17 +1996,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000008) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1988,14 +2022,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2010,7 +2043,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -2085,7 +2118,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the privateEndpoints field is set.
*/
public boolean hasPrivateEndpoints() {
- return privateEndpointsBuilder_ != null || privateEndpoints_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -2132,11 +2165,11 @@ public Builder setPrivateEndpoints(com.google.cloud.aiplatform.v1.IndexPrivateEn
throw new NullPointerException();
}
privateEndpoints_ = value;
- onChanged();
} else {
privateEndpointsBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -2157,11 +2190,11 @@ public Builder setPrivateEndpoints(
com.google.cloud.aiplatform.v1.IndexPrivateEndpoints.Builder builderForValue) {
if (privateEndpointsBuilder_ == null) {
privateEndpoints_ = builderForValue.build();
- onChanged();
} else {
privateEndpointsBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -2181,19 +2214,19 @@ public Builder setPrivateEndpoints(
public Builder mergePrivateEndpoints(
com.google.cloud.aiplatform.v1.IndexPrivateEndpoints value) {
if (privateEndpointsBuilder_ == null) {
- if (privateEndpoints_ != null) {
- privateEndpoints_ =
- com.google.cloud.aiplatform.v1.IndexPrivateEndpoints.newBuilder(privateEndpoints_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && privateEndpoints_ != null
+ && privateEndpoints_
+ != com.google.cloud.aiplatform.v1.IndexPrivateEndpoints.getDefaultInstance()) {
+ getPrivateEndpointsBuilder().mergeFrom(value);
} else {
privateEndpoints_ = value;
}
- onChanged();
} else {
privateEndpointsBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -2211,14 +2244,13 @@ public Builder mergePrivateEndpoints(
*
*/
public Builder clearPrivateEndpoints() {
- if (privateEndpointsBuilder_ == null) {
- privateEndpoints_ = null;
- onChanged();
- } else {
- privateEndpoints_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ privateEndpoints_ = null;
+ if (privateEndpointsBuilder_ != null) {
+ privateEndpointsBuilder_.dispose();
privateEndpointsBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2237,7 +2269,7 @@ public Builder clearPrivateEndpoints() {
*/
public com.google.cloud.aiplatform.v1.IndexPrivateEndpoints.Builder
getPrivateEndpointsBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getPrivateEndpointsFieldBuilder().getBuilder();
}
@@ -2330,7 +2362,7 @@ public Builder clearPrivateEndpoints() {
* @return Whether the indexSyncTime field is set.
*/
public boolean hasIndexSyncTime() {
- return indexSyncTimeBuilder_ != null || indexSyncTime_ != null;
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -2399,11 +2431,11 @@ public Builder setIndexSyncTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
indexSyncTime_ = value;
- onChanged();
} else {
indexSyncTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2434,11 +2466,11 @@ public Builder setIndexSyncTime(com.google.protobuf.Timestamp value) {
public Builder setIndexSyncTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (indexSyncTimeBuilder_ == null) {
indexSyncTime_ = builderForValue.build();
- onChanged();
} else {
indexSyncTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2468,19 +2500,18 @@ public Builder setIndexSyncTime(com.google.protobuf.Timestamp.Builder builderFor
*/
public Builder mergeIndexSyncTime(com.google.protobuf.Timestamp value) {
if (indexSyncTimeBuilder_ == null) {
- if (indexSyncTime_ != null) {
- indexSyncTime_ =
- com.google.protobuf.Timestamp.newBuilder(indexSyncTime_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000020) != 0)
+ && indexSyncTime_ != null
+ && indexSyncTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getIndexSyncTimeBuilder().mergeFrom(value);
} else {
indexSyncTime_ = value;
}
- onChanged();
} else {
indexSyncTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2509,14 +2540,13 @@ public Builder mergeIndexSyncTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearIndexSyncTime() {
- if (indexSyncTimeBuilder_ == null) {
- indexSyncTime_ = null;
- onChanged();
- } else {
- indexSyncTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ indexSyncTime_ = null;
+ if (indexSyncTimeBuilder_ != null) {
+ indexSyncTimeBuilder_.dispose();
indexSyncTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2545,7 +2575,7 @@ public Builder clearIndexSyncTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getIndexSyncTimeBuilder() {
-
+ bitField0_ |= 0x00000020;
onChanged();
return getIndexSyncTimeFieldBuilder().getBuilder();
}
@@ -2651,7 +2681,7 @@ public com.google.protobuf.TimestampOrBuilder getIndexSyncTimeOrBuilder() {
* @return Whether the automaticResources field is set.
*/
public boolean hasAutomaticResources() {
- return automaticResourcesBuilder_ != null || automaticResources_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2704,11 +2734,11 @@ public Builder setAutomaticResources(com.google.cloud.aiplatform.v1.AutomaticRes
throw new NullPointerException();
}
automaticResources_ = value;
- onChanged();
} else {
automaticResourcesBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2732,11 +2762,11 @@ public Builder setAutomaticResources(
com.google.cloud.aiplatform.v1.AutomaticResources.Builder builderForValue) {
if (automaticResourcesBuilder_ == null) {
automaticResources_ = builderForValue.build();
- onChanged();
} else {
automaticResourcesBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2759,19 +2789,19 @@ public Builder setAutomaticResources(
public Builder mergeAutomaticResources(
com.google.cloud.aiplatform.v1.AutomaticResources value) {
if (automaticResourcesBuilder_ == null) {
- if (automaticResources_ != null) {
- automaticResources_ =
- com.google.cloud.aiplatform.v1.AutomaticResources.newBuilder(automaticResources_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && automaticResources_ != null
+ && automaticResources_
+ != com.google.cloud.aiplatform.v1.AutomaticResources.getDefaultInstance()) {
+ getAutomaticResourcesBuilder().mergeFrom(value);
} else {
automaticResources_ = value;
}
- onChanged();
} else {
automaticResourcesBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2792,14 +2822,13 @@ public Builder mergeAutomaticResources(
*
*/
public Builder clearAutomaticResources() {
- if (automaticResourcesBuilder_ == null) {
- automaticResources_ = null;
- onChanged();
- } else {
- automaticResources_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ automaticResources_ = null;
+ if (automaticResourcesBuilder_ != null) {
+ automaticResourcesBuilder_.dispose();
automaticResourcesBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2821,7 +2850,7 @@ public Builder clearAutomaticResources() {
*/
public com.google.cloud.aiplatform.v1.AutomaticResources.Builder
getAutomaticResourcesBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getAutomaticResourcesFieldBuilder().getBuilder();
}
@@ -2918,7 +2947,7 @@ public Builder clearAutomaticResources() {
* @return Whether the dedicatedResources field is set.
*/
public boolean hasDedicatedResources() {
- return dedicatedResourcesBuilder_ != null || dedicatedResources_ != null;
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -2983,11 +3012,11 @@ public Builder setDedicatedResources(com.google.cloud.aiplatform.v1.DedicatedRes
throw new NullPointerException();
}
dedicatedResources_ = value;
- onChanged();
} else {
dedicatedResourcesBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3017,11 +3046,11 @@ public Builder setDedicatedResources(
com.google.cloud.aiplatform.v1.DedicatedResources.Builder builderForValue) {
if (dedicatedResourcesBuilder_ == null) {
dedicatedResources_ = builderForValue.build();
- onChanged();
} else {
dedicatedResourcesBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3050,19 +3079,19 @@ public Builder setDedicatedResources(
public Builder mergeDedicatedResources(
com.google.cloud.aiplatform.v1.DedicatedResources value) {
if (dedicatedResourcesBuilder_ == null) {
- if (dedicatedResources_ != null) {
- dedicatedResources_ =
- com.google.cloud.aiplatform.v1.DedicatedResources.newBuilder(dedicatedResources_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000080) != 0)
+ && dedicatedResources_ != null
+ && dedicatedResources_
+ != com.google.cloud.aiplatform.v1.DedicatedResources.getDefaultInstance()) {
+ getDedicatedResourcesBuilder().mergeFrom(value);
} else {
dedicatedResources_ = value;
}
- onChanged();
} else {
dedicatedResourcesBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3089,14 +3118,13 @@ public Builder mergeDedicatedResources(
*
*/
public Builder clearDedicatedResources() {
- if (dedicatedResourcesBuilder_ == null) {
- dedicatedResources_ = null;
- onChanged();
- } else {
- dedicatedResources_ = null;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ dedicatedResources_ = null;
+ if (dedicatedResourcesBuilder_ != null) {
+ dedicatedResourcesBuilder_.dispose();
dedicatedResourcesBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3124,7 +3152,7 @@ public Builder clearDedicatedResources() {
*/
public com.google.cloud.aiplatform.v1.DedicatedResources.Builder
getDedicatedResourcesBuilder() {
-
+ bitField0_ |= 0x00000080;
onChanged();
return getDedicatedResourcesFieldBuilder().getBuilder();
}
@@ -3244,6 +3272,7 @@ public boolean getEnableAccessLogging() {
public Builder setEnableAccessLogging(boolean value) {
enableAccessLogging_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -3265,7 +3294,7 @@ public Builder setEnableAccessLogging(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEnableAccessLogging() {
-
+ bitField0_ = (bitField0_ & ~0x00000100);
enableAccessLogging_ = false;
onChanged();
return this;
@@ -3291,7 +3320,7 @@ public Builder clearEnableAccessLogging() {
* @return Whether the deployedIndexAuthConfig field is set.
*/
public boolean hasDeployedIndexAuthConfig() {
- return deployedIndexAuthConfigBuilder_ != null || deployedIndexAuthConfig_ != null;
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
*
@@ -3333,11 +3362,11 @@ public Builder setDeployedIndexAuthConfig(
throw new NullPointerException();
}
deployedIndexAuthConfig_ = value;
- onChanged();
} else {
deployedIndexAuthConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3355,11 +3384,11 @@ public Builder setDeployedIndexAuthConfig(
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.Builder builderForValue) {
if (deployedIndexAuthConfigBuilder_ == null) {
deployedIndexAuthConfig_ = builderForValue.build();
- onChanged();
} else {
deployedIndexAuthConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3376,20 +3405,19 @@ public Builder setDeployedIndexAuthConfig(
public Builder mergeDeployedIndexAuthConfig(
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig value) {
if (deployedIndexAuthConfigBuilder_ == null) {
- if (deployedIndexAuthConfig_ != null) {
- deployedIndexAuthConfig_ =
- com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.newBuilder(
- deployedIndexAuthConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000200) != 0)
+ && deployedIndexAuthConfig_ != null
+ && deployedIndexAuthConfig_
+ != com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.getDefaultInstance()) {
+ getDeployedIndexAuthConfigBuilder().mergeFrom(value);
} else {
deployedIndexAuthConfig_ = value;
}
- onChanged();
} else {
deployedIndexAuthConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3404,14 +3432,13 @@ public Builder mergeDeployedIndexAuthConfig(
*
*/
public Builder clearDeployedIndexAuthConfig() {
- if (deployedIndexAuthConfigBuilder_ == null) {
- deployedIndexAuthConfig_ = null;
- onChanged();
- } else {
- deployedIndexAuthConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ deployedIndexAuthConfig_ = null;
+ if (deployedIndexAuthConfigBuilder_ != null) {
+ deployedIndexAuthConfigBuilder_.dispose();
deployedIndexAuthConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3427,7 +3454,7 @@ public Builder clearDeployedIndexAuthConfig() {
*/
public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.Builder
getDeployedIndexAuthConfigBuilder() {
-
+ bitField0_ |= 0x00000200;
onChanged();
return getDeployedIndexAuthConfigFieldBuilder().getBuilder();
}
@@ -3484,9 +3511,9 @@ public Builder clearDeployedIndexAuthConfig() {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureReservedIpRangesIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000400) != 0)) {
reservedIpRanges_ = new com.google.protobuf.LazyStringArrayList(reservedIpRanges_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000400;
}
}
/**
@@ -3685,7 +3712,7 @@ public Builder addAllReservedIpRanges(java.lang.Iterable value
*/
public Builder clearReservedIpRanges() {
reservedIpRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
@@ -3808,8 +3835,8 @@ public Builder setDeploymentGroup(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
deploymentGroup_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -3834,8 +3861,8 @@ public Builder setDeploymentGroup(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDeploymentGroup() {
-
deploymentGroup_ = getDefaultInstance().getDeploymentGroup();
+ bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
@@ -3865,8 +3892,8 @@ public Builder setDeploymentGroupBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
deploymentGroup_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexAuthConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexAuthConfig.java
index c1a5f8939341..131568477ba2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexAuthConfig.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexAuthConfig.java
@@ -245,6 +245,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int AUDIENCES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList audiences_;
/**
*
@@ -318,6 +320,8 @@ public com.google.protobuf.ByteString getAudiencesBytes(int index) {
}
public static final int ALLOWED_ISSUERS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList allowedIssuers_;
/**
*
@@ -613,6 +617,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
audiences_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
allowedIssuers_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -646,7 +651,16 @@ public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider build
public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider buildPartial() {
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider result =
new com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider result) {
if (((bitField0_ & 0x00000001) != 0)) {
audiences_ = audiences_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
@@ -657,8 +671,11 @@ public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider build
bitField0_ = (bitField0_ & ~0x00000002);
}
result.allowedIssuers_ = allowedIssuers_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
@@ -1288,7 +1305,9 @@ public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider getAu
@java.lang.Override
public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProviderOrBuilder
getAuthProviderOrBuilder() {
- return getAuthProvider();
+ return authProvider_ == null
+ ? com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider.getDefaultInstance()
+ : authProvider_;
}
private byte memoizedIsInitialized = -1;
@@ -1494,10 +1513,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (authProviderBuilder_ == null) {
- authProvider_ = null;
- } else {
- authProvider_ = null;
+ bitField0_ = 0;
+ authProvider_ = null;
+ if (authProviderBuilder_ != null) {
+ authProviderBuilder_.dispose();
authProviderBuilder_ = null;
}
return this;
@@ -1527,15 +1546,21 @@ public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig build() {
public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig buildPartial() {
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig result =
new com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig(this);
- if (authProviderBuilder_ == null) {
- result.authProvider_ = authProvider_;
- } else {
- result.authProvider_ = authProviderBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.authProvider_ =
+ authProviderBuilder_ == null ? authProvider_ : authProviderBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1614,7 +1639,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getAuthProviderFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -1634,6 +1659,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider authProvider_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider,
@@ -1653,7 +1680,7 @@ public Builder mergeFrom(
* @return Whether the authProvider field is set.
*/
public boolean hasAuthProvider() {
- return authProviderBuilder_ != null || authProvider_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -1694,11 +1721,11 @@ public Builder setAuthProvider(
throw new NullPointerException();
}
authProvider_ = value;
- onChanged();
} else {
authProviderBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1716,11 +1743,11 @@ public Builder setAuthProvider(
builderForValue) {
if (authProviderBuilder_ == null) {
authProvider_ = builderForValue.build();
- onChanged();
} else {
authProviderBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1736,20 +1763,20 @@ public Builder setAuthProvider(
public Builder mergeAuthProvider(
com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider value) {
if (authProviderBuilder_ == null) {
- if (authProvider_ != null) {
- authProvider_ =
- com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider.newBuilder(
- authProvider_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && authProvider_ != null
+ && authProvider_
+ != com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider
+ .getDefaultInstance()) {
+ getAuthProviderBuilder().mergeFrom(value);
} else {
authProvider_ = value;
}
- onChanged();
} else {
authProviderBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1763,14 +1790,13 @@ public Builder mergeAuthProvider(
*
*/
public Builder clearAuthProvider() {
- if (authProviderBuilder_ == null) {
- authProvider_ = null;
- onChanged();
- } else {
- authProvider_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ authProvider_ = null;
+ if (authProviderBuilder_ != null) {
+ authProviderBuilder_.dispose();
authProviderBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1785,7 +1811,7 @@ public Builder clearAuthProvider() {
*/
public com.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider.Builder
getAuthProviderBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getAuthProviderFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRef.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRef.java
index 33ce695025b1..1288d7fe47b5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRef.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedIndexRef.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int INDEX_ENDPOINT_FIELD_NUMBER = 1;
- private volatile java.lang.Object indexEndpoint_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object indexEndpoint_ = "";
/**
*
*
@@ -122,7 +124,9 @@ public com.google.protobuf.ByteString getIndexEndpointBytes() {
}
public static final int DEPLOYED_INDEX_ID_FIELD_NUMBER = 2;
- private volatile java.lang.Object deployedIndexId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object deployedIndexId_ = "";
/**
*
*
@@ -376,10 +380,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
indexEndpoint_ = "";
-
deployedIndexId_ = "";
-
return this;
}
@@ -407,12 +410,23 @@ public com.google.cloud.aiplatform.v1.DeployedIndexRef build() {
public com.google.cloud.aiplatform.v1.DeployedIndexRef buildPartial() {
com.google.cloud.aiplatform.v1.DeployedIndexRef result =
new com.google.cloud.aiplatform.v1.DeployedIndexRef(this);
- result.indexEndpoint_ = indexEndpoint_;
- result.deployedIndexId_ = deployedIndexId_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedIndexRef result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.indexEndpoint_ = indexEndpoint_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.deployedIndexId_ = deployedIndexId_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -461,10 +475,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedIndexRef other)
return this;
if (!other.getIndexEndpoint().isEmpty()) {
indexEndpoint_ = other.indexEndpoint_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDeployedIndexId().isEmpty()) {
deployedIndexId_ = other.deployedIndexId_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -496,13 +512,13 @@ public Builder mergeFrom(
case 10:
{
indexEndpoint_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
deployedIndexId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -522,6 +538,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object indexEndpoint_ = "";
/**
*
@@ -589,8 +607,8 @@ public Builder setIndexEndpoint(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
indexEndpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -608,8 +626,8 @@ public Builder setIndexEndpoint(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearIndexEndpoint() {
-
indexEndpoint_ = getDefaultInstance().getIndexEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -632,8 +650,8 @@ public Builder setIndexEndpointBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
indexEndpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -699,8 +717,8 @@ public Builder setDeployedIndexId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
deployedIndexId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -716,8 +734,8 @@ public Builder setDeployedIndexId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDeployedIndexId() {
-
deployedIndexId_ = getDefaultInstance().getDeployedIndexId();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -738,8 +756,8 @@ public Builder setDeployedIndexIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
deployedIndexId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java
index 2157c35a1095..3317b2a63c1a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModel.java
@@ -229,7 +229,9 @@ public com.google.cloud.aiplatform.v1.AutomaticResources getAutomaticResources()
}
public static final int ID_FIELD_NUMBER = 1;
- private volatile java.lang.Object id_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object id_ = "";
/**
*
*
@@ -282,7 +284,9 @@ public com.google.protobuf.ByteString getIdBytes() {
}
public static final int MODEL_FIELD_NUMBER = 2;
- private volatile java.lang.Object model_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object model_ = "";
/**
*
*
@@ -343,7 +347,9 @@ public com.google.protobuf.ByteString getModelBytes() {
}
public static final int MODEL_VERSION_ID_FIELD_NUMBER = 18;
- private volatile java.lang.Object modelVersionId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object modelVersionId_ = "";
/**
*
*
@@ -392,7 +398,9 @@ public com.google.protobuf.ByteString getModelVersionIdBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 3;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -488,7 +496,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int EXPLANATION_SPEC_FIELD_NUMBER = 9;
@@ -581,11 +589,15 @@ public com.google.cloud.aiplatform.v1.ExplanationSpec getExplanationSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationSpecOrBuilder getExplanationSpecOrBuilder() {
- return getExplanationSpec();
+ return explanationSpec_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationSpec.getDefaultInstance()
+ : explanationSpec_;
}
public static final int SERVICE_ACCOUNT_FIELD_NUMBER = 11;
- private volatile java.lang.Object serviceAccount_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object serviceAccount_ = "";
/**
*
*
@@ -644,7 +656,7 @@ public com.google.protobuf.ByteString getServiceAccountBytes() {
}
public static final int DISABLE_CONTAINER_LOGGING_FIELD_NUMBER = 15;
- private boolean disableContainerLogging_;
+ private boolean disableContainerLogging_ = false;
/**
*
*
@@ -667,7 +679,7 @@ public boolean getDisableContainerLogging() {
}
public static final int ENABLE_ACCESS_LOGGING_FIELD_NUMBER = 13;
- private boolean enableAccessLogging_;
+ private boolean enableAccessLogging_ = false;
/**
*
*
@@ -748,7 +760,9 @@ public com.google.cloud.aiplatform.v1.PrivateEndpoints getPrivateEndpoints() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.PrivateEndpointsOrBuilder getPrivateEndpointsOrBuilder() {
- return getPrivateEndpoints();
+ return privateEndpoints_ == null
+ ? com.google.cloud.aiplatform.v1.PrivateEndpoints.getDefaultInstance()
+ : privateEndpoints_;
}
private byte memoizedIsInitialized = -1;
@@ -1085,6 +1099,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (dedicatedResourcesBuilder_ != null) {
dedicatedResourcesBuilder_.clear();
}
@@ -1092,35 +1107,25 @@ public Builder clear() {
automaticResourcesBuilder_.clear();
}
id_ = "";
-
model_ = "";
-
modelVersionId_ = "";
-
displayName_ = "";
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (explanationSpecBuilder_ == null) {
- explanationSpec_ = null;
- } else {
- explanationSpec_ = null;
+ explanationSpec_ = null;
+ if (explanationSpecBuilder_ != null) {
+ explanationSpecBuilder_.dispose();
explanationSpecBuilder_ = null;
}
serviceAccount_ = "";
-
disableContainerLogging_ = false;
-
enableAccessLogging_ = false;
-
- if (privateEndpointsBuilder_ == null) {
- privateEndpoints_ = null;
- } else {
- privateEndpoints_ = null;
+ privateEndpoints_ = null;
+ if (privateEndpointsBuilder_ != null) {
+ privateEndpointsBuilder_.dispose();
privateEndpointsBuilder_ = null;
}
predictionResourcesCase_ = 0;
@@ -1152,45 +1157,59 @@ public com.google.cloud.aiplatform.v1.DeployedModel build() {
public com.google.cloud.aiplatform.v1.DeployedModel buildPartial() {
com.google.cloud.aiplatform.v1.DeployedModel result =
new com.google.cloud.aiplatform.v1.DeployedModel(this);
- if (predictionResourcesCase_ == 7) {
- if (dedicatedResourcesBuilder_ == null) {
- result.predictionResources_ = predictionResources_;
- } else {
- result.predictionResources_ = dedicatedResourcesBuilder_.build();
- }
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- if (predictionResourcesCase_ == 8) {
- if (automaticResourcesBuilder_ == null) {
- result.predictionResources_ = predictionResources_;
- } else {
- result.predictionResources_ = automaticResourcesBuilder_.build();
- }
+ buildPartialOneofs(result);
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedModel result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.id_ = id_;
}
- result.id_ = id_;
- result.model_ = model_;
- result.modelVersionId_ = modelVersionId_;
- result.displayName_ = displayName_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.model_ = model_;
}
- if (explanationSpecBuilder_ == null) {
- result.explanationSpec_ = explanationSpec_;
- } else {
- result.explanationSpec_ = explanationSpecBuilder_.build();
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.modelVersionId_ = modelVersionId_;
}
- result.serviceAccount_ = serviceAccount_;
- result.disableContainerLogging_ = disableContainerLogging_;
- result.enableAccessLogging_ = enableAccessLogging_;
- if (privateEndpointsBuilder_ == null) {
- result.privateEndpoints_ = privateEndpoints_;
- } else {
- result.privateEndpoints_ = privateEndpointsBuilder_.build();
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.displayName_ = displayName_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.explanationSpec_ =
+ explanationSpecBuilder_ == null ? explanationSpec_ : explanationSpecBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.serviceAccount_ = serviceAccount_;
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.disableContainerLogging_ = disableContainerLogging_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.enableAccessLogging_ = enableAccessLogging_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.privateEndpoints_ =
+ privateEndpointsBuilder_ == null ? privateEndpoints_ : privateEndpointsBuilder_.build();
+ }
+ }
+
+ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.DeployedModel result) {
result.predictionResourcesCase_ = predictionResourcesCase_;
- onBuilt();
- return result;
+ result.predictionResources_ = this.predictionResources_;
+ if (predictionResourcesCase_ == 7 && dedicatedResourcesBuilder_ != null) {
+ result.predictionResources_ = dedicatedResourcesBuilder_.build();
+ }
+ if (predictionResourcesCase_ == 8 && automaticResourcesBuilder_ != null) {
+ result.predictionResources_ = automaticResourcesBuilder_.build();
+ }
}
@java.lang.Override
@@ -1240,18 +1259,22 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedModel other) {
if (other == com.google.cloud.aiplatform.v1.DeployedModel.getDefaultInstance()) return this;
if (!other.getId().isEmpty()) {
id_ = other.id_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getModel().isEmpty()) {
model_ = other.model_;
+ bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getModelVersionId().isEmpty()) {
modelVersionId_ = other.modelVersionId_;
+ bitField0_ |= 0x00000010;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasCreateTime()) {
@@ -1262,6 +1285,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedModel other) {
}
if (!other.getServiceAccount().isEmpty()) {
serviceAccount_ = other.serviceAccount_;
+ bitField0_ |= 0x00000100;
onChanged();
}
if (other.getDisableContainerLogging() != false) {
@@ -1318,25 +1342,25 @@ public Builder mergeFrom(
case 10:
{
id_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 10
case 18:
{
model_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 18
case 26:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000020;
break;
} // case 26
case 50:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 50
case 58:
@@ -1356,38 +1380,38 @@ public Builder mergeFrom(
case 74:
{
input.readMessage(getExplanationSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000080;
break;
} // case 74
case 90:
{
serviceAccount_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000100;
break;
} // case 90
case 104:
{
enableAccessLogging_ = input.readBool();
-
+ bitField0_ |= 0x00000400;
break;
} // case 104
case 114:
{
input.readMessage(
getPrivateEndpointsFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000800;
break;
} // case 114
case 120:
{
disableContainerLogging_ = input.readBool();
-
+ bitField0_ |= 0x00000200;
break;
} // case 120
case 146:
{
modelVersionId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000010;
break;
} // case 146
default:
@@ -1421,6 +1445,8 @@ public Builder clearPredictionResources() {
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.DedicatedResources,
com.google.cloud.aiplatform.v1.DedicatedResources.Builder,
@@ -1641,7 +1667,6 @@ public Builder clearDedicatedResources() {
}
predictionResourcesCase_ = 7;
onChanged();
- ;
return dedicatedResourcesBuilder_;
}
@@ -1865,7 +1890,6 @@ public Builder clearAutomaticResources() {
}
predictionResourcesCase_ = 8;
onChanged();
- ;
return automaticResourcesBuilder_;
}
@@ -1936,8 +1960,8 @@ public Builder setId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
id_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1955,8 +1979,8 @@ public Builder setId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearId() {
-
id_ = getDefaultInstance().getId();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -1979,8 +2003,8 @@ public Builder setIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
id_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -2064,8 +2088,8 @@ public Builder setModel(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
model_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -2087,8 +2111,8 @@ public Builder setModel(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearModel() {
-
model_ = getDefaultInstance().getModel();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -2115,8 +2139,8 @@ public Builder setModelBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
model_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -2182,8 +2206,8 @@ public Builder setModelVersionId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
modelVersionId_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2199,8 +2223,8 @@ public Builder setModelVersionId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearModelVersionId() {
-
modelVersionId_ = getDefaultInstance().getModelVersionId();
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -2221,8 +2245,8 @@ public Builder setModelVersionIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
modelVersionId_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2291,8 +2315,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2309,8 +2333,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2332,8 +2356,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2358,7 +2382,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2399,11 +2423,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2420,11 +2444,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2440,17 +2464,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2465,14 +2490,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2487,7 +2511,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -2572,7 +2596,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the explanationSpec field is set.
*/
public boolean hasExplanationSpec() {
- return explanationSpecBuilder_ != null || explanationSpec_ != null;
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -2639,11 +2663,11 @@ public Builder setExplanationSpec(com.google.cloud.aiplatform.v1.ExplanationSpec
throw new NullPointerException();
}
explanationSpec_ = value;
- onChanged();
} else {
explanationSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -2674,11 +2698,11 @@ public Builder setExplanationSpec(
com.google.cloud.aiplatform.v1.ExplanationSpec.Builder builderForValue) {
if (explanationSpecBuilder_ == null) {
explanationSpec_ = builderForValue.build();
- onChanged();
} else {
explanationSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -2707,19 +2731,19 @@ public Builder setExplanationSpec(
*/
public Builder mergeExplanationSpec(com.google.cloud.aiplatform.v1.ExplanationSpec value) {
if (explanationSpecBuilder_ == null) {
- if (explanationSpec_ != null) {
- explanationSpec_ =
- com.google.cloud.aiplatform.v1.ExplanationSpec.newBuilder(explanationSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000080) != 0)
+ && explanationSpec_ != null
+ && explanationSpec_
+ != com.google.cloud.aiplatform.v1.ExplanationSpec.getDefaultInstance()) {
+ getExplanationSpecBuilder().mergeFrom(value);
} else {
explanationSpec_ = value;
}
- onChanged();
} else {
explanationSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -2747,14 +2771,13 @@ public Builder mergeExplanationSpec(com.google.cloud.aiplatform.v1.ExplanationSp
* .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
*/
public Builder clearExplanationSpec() {
- if (explanationSpecBuilder_ == null) {
- explanationSpec_ = null;
- onChanged();
- } else {
- explanationSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ explanationSpec_ = null;
+ if (explanationSpecBuilder_ != null) {
+ explanationSpecBuilder_.dispose();
explanationSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2782,7 +2805,7 @@ public Builder clearExplanationSpec() {
* .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9;
*/
public com.google.cloud.aiplatform.v1.ExplanationSpec.Builder getExplanationSpecBuilder() {
-
+ bitField0_ |= 0x00000080;
onChanged();
return getExplanationSpecFieldBuilder().getBuilder();
}
@@ -2936,8 +2959,8 @@ public Builder setServiceAccount(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
serviceAccount_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2958,8 +2981,8 @@ public Builder setServiceAccount(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearServiceAccount() {
-
serviceAccount_ = getDefaultInstance().getServiceAccount();
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -2985,8 +3008,8 @@ public Builder setServiceAccountBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
serviceAccount_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -3032,6 +3055,7 @@ public boolean getDisableContainerLogging() {
public Builder setDisableContainerLogging(boolean value) {
disableContainerLogging_ = value;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -3052,7 +3076,7 @@ public Builder setDisableContainerLogging(boolean value) {
* @return This builder for chaining.
*/
public Builder clearDisableContainerLogging() {
-
+ bitField0_ = (bitField0_ & ~0x00000200);
disableContainerLogging_ = false;
onChanged();
return this;
@@ -3097,6 +3121,7 @@ public boolean getEnableAccessLogging() {
public Builder setEnableAccessLogging(boolean value) {
enableAccessLogging_ = value;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -3116,7 +3141,7 @@ public Builder setEnableAccessLogging(boolean value) {
* @return This builder for chaining.
*/
public Builder clearEnableAccessLogging() {
-
+ bitField0_ = (bitField0_ & ~0x00000400);
enableAccessLogging_ = false;
onChanged();
return this;
@@ -3145,7 +3170,7 @@ public Builder clearEnableAccessLogging() {
* @return Whether the privateEndpoints field is set.
*/
public boolean hasPrivateEndpoints() {
- return privateEndpointsBuilder_ != null || privateEndpoints_ != null;
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
*
@@ -3192,11 +3217,11 @@ public Builder setPrivateEndpoints(com.google.cloud.aiplatform.v1.PrivateEndpoin
throw new NullPointerException();
}
privateEndpoints_ = value;
- onChanged();
} else {
privateEndpointsBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3217,11 +3242,11 @@ public Builder setPrivateEndpoints(
com.google.cloud.aiplatform.v1.PrivateEndpoints.Builder builderForValue) {
if (privateEndpointsBuilder_ == null) {
privateEndpoints_ = builderForValue.build();
- onChanged();
} else {
privateEndpointsBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3240,19 +3265,19 @@ public Builder setPrivateEndpoints(
*/
public Builder mergePrivateEndpoints(com.google.cloud.aiplatform.v1.PrivateEndpoints value) {
if (privateEndpointsBuilder_ == null) {
- if (privateEndpoints_ != null) {
- privateEndpoints_ =
- com.google.cloud.aiplatform.v1.PrivateEndpoints.newBuilder(privateEndpoints_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000800) != 0)
+ && privateEndpoints_ != null
+ && privateEndpoints_
+ != com.google.cloud.aiplatform.v1.PrivateEndpoints.getDefaultInstance()) {
+ getPrivateEndpointsBuilder().mergeFrom(value);
} else {
privateEndpoints_ = value;
}
- onChanged();
} else {
privateEndpointsBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3270,14 +3295,13 @@ public Builder mergePrivateEndpoints(com.google.cloud.aiplatform.v1.PrivateEndpo
*
*/
public Builder clearPrivateEndpoints() {
- if (privateEndpointsBuilder_ == null) {
- privateEndpoints_ = null;
- onChanged();
- } else {
- privateEndpoints_ = null;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ privateEndpoints_ = null;
+ if (privateEndpointsBuilder_ != null) {
+ privateEndpointsBuilder_.dispose();
privateEndpointsBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3295,7 +3319,7 @@ public Builder clearPrivateEndpoints() {
*
*/
public com.google.cloud.aiplatform.v1.PrivateEndpoints.Builder getPrivateEndpointsBuilder() {
-
+ bitField0_ |= 0x00000800;
onChanged();
return getPrivateEndpointsFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelRef.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelRef.java
index cbea9d837cb0..ec9935762b7c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelRef.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DeployedModelRef.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int ENDPOINT_FIELD_NUMBER = 1;
- private volatile java.lang.Object endpoint_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object endpoint_ = "";
/**
*
*
@@ -122,7 +124,9 @@ public com.google.protobuf.ByteString getEndpointBytes() {
}
public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER = 2;
- private volatile java.lang.Object deployedModelId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object deployedModelId_ = "";
/**
*
*
@@ -376,10 +380,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
endpoint_ = "";
-
deployedModelId_ = "";
-
return this;
}
@@ -407,12 +410,23 @@ public com.google.cloud.aiplatform.v1.DeployedModelRef build() {
public com.google.cloud.aiplatform.v1.DeployedModelRef buildPartial() {
com.google.cloud.aiplatform.v1.DeployedModelRef result =
new com.google.cloud.aiplatform.v1.DeployedModelRef(this);
- result.endpoint_ = endpoint_;
- result.deployedModelId_ = deployedModelId_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DeployedModelRef result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.endpoint_ = endpoint_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.deployedModelId_ = deployedModelId_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -461,10 +475,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DeployedModelRef other)
return this;
if (!other.getEndpoint().isEmpty()) {
endpoint_ = other.endpoint_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDeployedModelId().isEmpty()) {
deployedModelId_ = other.deployedModelId_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -496,13 +512,13 @@ public Builder mergeFrom(
case 10:
{
endpoint_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
deployedModelId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -522,6 +538,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object endpoint_ = "";
/**
*
@@ -589,8 +607,8 @@ public Builder setEndpoint(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
endpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -608,8 +626,8 @@ public Builder setEndpoint(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEndpoint() {
-
endpoint_ = getDefaultInstance().getEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -632,8 +650,8 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
endpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -699,8 +717,8 @@ public Builder setDeployedModelId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
deployedModelId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -716,8 +734,8 @@ public Builder setDeployedModelId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDeployedModelId() {
-
deployedModelId_ = getDefaultInstance().getDeployedModelId();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -738,8 +756,8 @@ public Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
deployedModelId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DestinationFeatureSetting.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DestinationFeatureSetting.java
index ff82483afa5a..9589f44fb59c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DestinationFeatureSetting.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DestinationFeatureSetting.java
@@ -61,7 +61,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int FEATURE_ID_FIELD_NUMBER = 1;
- private volatile java.lang.Object featureId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object featureId_ = "";
/**
*
*
@@ -110,7 +112,9 @@ public com.google.protobuf.ByteString getFeatureIdBytes() {
}
public static final int DESTINATION_FIELD_FIELD_NUMBER = 2;
- private volatile java.lang.Object destinationField_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object destinationField_ = "";
/**
*
*
@@ -359,10 +363,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
featureId_ = "";
-
destinationField_ = "";
-
return this;
}
@@ -390,12 +393,23 @@ public com.google.cloud.aiplatform.v1.DestinationFeatureSetting build() {
public com.google.cloud.aiplatform.v1.DestinationFeatureSetting buildPartial() {
com.google.cloud.aiplatform.v1.DestinationFeatureSetting result =
new com.google.cloud.aiplatform.v1.DestinationFeatureSetting(this);
- result.featureId_ = featureId_;
- result.destinationField_ = destinationField_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DestinationFeatureSetting result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.featureId_ = featureId_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.destinationField_ = destinationField_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -444,10 +458,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DestinationFeatureSettin
return this;
if (!other.getFeatureId().isEmpty()) {
featureId_ = other.featureId_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDestinationField().isEmpty()) {
destinationField_ = other.destinationField_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -479,13 +495,13 @@ public Builder mergeFrom(
case 10:
{
featureId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
destinationField_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -505,6 +521,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object featureId_ = "";
/**
*
@@ -566,8 +584,8 @@ public Builder setFeatureId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
featureId_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -583,8 +601,8 @@ public Builder setFeatureId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearFeatureId() {
-
featureId_ = getDefaultInstance().getFeatureId();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -605,8 +623,8 @@ public Builder setFeatureIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
featureId_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -675,8 +693,8 @@ public Builder setDestinationField(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
destinationField_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -693,8 +711,8 @@ public Builder setDestinationField(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDestinationField() {
-
destinationField_ = getDefaultInstance().getDestinationField();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -716,8 +734,8 @@ public Builder setDestinationFieldBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
destinationField_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java
index 8201461f8e55..5524e3393c94 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DiskSpec.java
@@ -68,7 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int BOOT_DISK_TYPE_FIELD_NUMBER = 1;
- private volatile java.lang.Object bootDiskType_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object bootDiskType_ = "";
/**
*
*
@@ -121,7 +123,7 @@ public com.google.protobuf.ByteString getBootDiskTypeBytes() {
}
public static final int BOOT_DISK_SIZE_GB_FIELD_NUMBER = 2;
- private int bootDiskSizeGb_;
+ private int bootDiskSizeGb_ = 0;
/**
*
*
@@ -343,10 +345,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
bootDiskType_ = "";
-
bootDiskSizeGb_ = 0;
-
return this;
}
@@ -374,12 +375,23 @@ public com.google.cloud.aiplatform.v1.DiskSpec build() {
public com.google.cloud.aiplatform.v1.DiskSpec buildPartial() {
com.google.cloud.aiplatform.v1.DiskSpec result =
new com.google.cloud.aiplatform.v1.DiskSpec(this);
- result.bootDiskType_ = bootDiskType_;
- result.bootDiskSizeGb_ = bootDiskSizeGb_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DiskSpec result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.bootDiskType_ = bootDiskType_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.bootDiskSizeGb_ = bootDiskSizeGb_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -427,6 +439,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.DiskSpec other) {
if (other == com.google.cloud.aiplatform.v1.DiskSpec.getDefaultInstance()) return this;
if (!other.getBootDiskType().isEmpty()) {
bootDiskType_ = other.bootDiskType_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getBootDiskSizeGb() != 0) {
@@ -461,13 +474,13 @@ public Builder mergeFrom(
case 10:
{
bootDiskType_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 16:
{
bootDiskSizeGb_ = input.readInt32();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -487,6 +500,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object bootDiskType_ = "";
/**
*
@@ -554,8 +569,8 @@ public Builder setBootDiskType(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
bootDiskType_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -573,8 +588,8 @@ public Builder setBootDiskType(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearBootDiskType() {
-
bootDiskType_ = getDefaultInstance().getBootDiskType();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -597,8 +612,8 @@ public Builder setBootDiskTypeBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
bootDiskType_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -634,6 +649,7 @@ public int getBootDiskSizeGb() {
public Builder setBootDiskSizeGb(int value) {
bootDiskSizeGb_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -649,7 +665,7 @@ public Builder setBootDiskSizeGb(int value) {
* @return This builder for chaining.
*/
public Builder clearBootDiskSizeGb() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
bootDiskSizeGb_ = 0;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DoubleArray.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DoubleArray.java
index 4c1fa6af5892..564ee44c6503 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DoubleArray.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/DoubleArray.java
@@ -68,6 +68,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int VALUES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.Internal.DoubleList values_;
/**
*
@@ -327,8 +329,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
values_ = emptyDoubleList();
- bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@@ -356,14 +358,24 @@ public com.google.cloud.aiplatform.v1.DoubleArray build() {
public com.google.cloud.aiplatform.v1.DoubleArray buildPartial() {
com.google.cloud.aiplatform.v1.DoubleArray result =
new com.google.cloud.aiplatform.v1.DoubleArray(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.DoubleArray result) {
if (((bitField0_ & 0x00000001) != 0)) {
values_.makeImmutable();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.values_ = values_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.DoubleArray result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
@@ -551,6 +563,7 @@ public double getValues(int index) {
* @return This builder for chaining.
*/
public Builder setValues(int index, double value) {
+
ensureValuesIsMutable();
values_.setDouble(index, value);
onChanged();
@@ -569,6 +582,7 @@ public Builder setValues(int index, double value) {
* @return This builder for chaining.
*/
public Builder addValues(double value) {
+
ensureValuesIsMutable();
values_.addDouble(value);
onChanged();
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpec.java
index 9172b75b4165..598fc19c05a1 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EncryptionSpec.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int KMS_KEY_NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object kmsKeyName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object kmsKeyName_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
kmsKeyName_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.EncryptionSpec build() {
public com.google.cloud.aiplatform.v1.EncryptionSpec buildPartial() {
com.google.cloud.aiplatform.v1.EncryptionSpec result =
new com.google.cloud.aiplatform.v1.EncryptionSpec(this);
- result.kmsKeyName_ = kmsKeyName_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.EncryptionSpec result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.kmsKeyName_ = kmsKeyName_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -404,6 +415,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EncryptionSpec other) {
if (other == com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) return this;
if (!other.getKmsKeyName().isEmpty()) {
kmsKeyName_ = other.kmsKeyName_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -435,7 +447,7 @@ public Builder mergeFrom(
case 10:
{
kmsKeyName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -455,6 +467,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object kmsKeyName_ = "";
/**
*
@@ -528,8 +542,8 @@ public Builder setKmsKeyName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
kmsKeyName_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -549,8 +563,8 @@ public Builder setKmsKeyName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearKmsKeyName() {
-
kmsKeyName_ = getDefaultInstance().getKmsKeyName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -575,8 +589,8 @@ public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
kmsKeyName_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
index d29981072546..d40659f35df2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Endpoint.java
@@ -88,7 +88,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -137,7 +139,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -190,7 +194,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
}
public static final int DESCRIPTION_FIELD_NUMBER = 3;
- private volatile java.lang.Object description_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
/**
*
*
@@ -239,6 +245,8 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
}
public static final int DEPLOYED_MODELS_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
private java.util.List deployedModels_;
/**
*
@@ -356,6 +364,7 @@ private static final class TrafficSplitDefaultEntryHolder {
0);
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField trafficSplit_;
private com.google.protobuf.MapField
@@ -464,7 +473,9 @@ public int getTrafficSplitOrThrow(java.lang.String key) {
}
public static final int ETAG_FIELD_NUMBER = 6;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -527,6 +538,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -596,7 +608,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 7;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -674,7 +689,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 9;
@@ -723,7 +738,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int ENCRYPTION_SPEC_FIELD_NUMBER = 10;
@@ -777,11 +792,15 @@ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
- return getEncryptionSpec();
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
}
public static final int NETWORK_FIELD_NUMBER = 13;
- private volatile java.lang.Object network_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object network_ = "";
/**
*
*
@@ -854,7 +873,7 @@ public com.google.protobuf.ByteString getNetworkBytes() {
}
public static final int ENABLE_PRIVATE_SERVICE_CONNECT_FIELD_NUMBER = 17;
- private boolean enablePrivateServiceConnect_;
+ private boolean enablePrivateServiceConnect_ = false;
/**
*
*
@@ -879,7 +898,9 @@ public boolean getEnablePrivateServiceConnect() {
}
public static final int MODEL_DEPLOYMENT_MONITORING_JOB_FIELD_NUMBER = 14;
- private volatile java.lang.Object modelDeploymentMonitoringJob_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object modelDeploymentMonitoringJob_ = "";
/**
*
*
@@ -991,7 +1012,9 @@ public boolean hasPredictRequestResponseLoggingConfig() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfigOrBuilder
getPredictRequestResponseLoggingConfigOrBuilder() {
- return getPredictRequestResponseLoggingConfig();
+ return predictRequestResponseLoggingConfig_ == null
+ ? com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.getDefaultInstance()
+ : predictRequestResponseLoggingConfig_;
}
private byte memoizedIsInitialized = -1;
@@ -1378,51 +1401,41 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
displayName_ = "";
-
description_ = "";
-
if (deployedModelsBuilder_ == null) {
deployedModels_ = java.util.Collections.emptyList();
} else {
deployedModels_ = null;
deployedModelsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableTrafficSplit().clear();
etag_ = "";
-
internalGetMutableLabels().clear();
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- } else {
- encryptionSpec_ = null;
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
network_ = "";
-
enablePrivateServiceConnect_ = false;
-
modelDeploymentMonitoringJob_ = "";
-
- if (predictRequestResponseLoggingConfigBuilder_ == null) {
- predictRequestResponseLoggingConfig_ = null;
- } else {
- predictRequestResponseLoggingConfig_ = null;
+ predictRequestResponseLoggingConfig_ = null;
+ if (predictRequestResponseLoggingConfigBuilder_ != null) {
+ predictRequestResponseLoggingConfigBuilder_.dispose();
predictRequestResponseLoggingConfigBuilder_ = null;
}
return this;
@@ -1452,50 +1465,73 @@ public com.google.cloud.aiplatform.v1.Endpoint build() {
public com.google.cloud.aiplatform.v1.Endpoint buildPartial() {
com.google.cloud.aiplatform.v1.Endpoint result =
new com.google.cloud.aiplatform.v1.Endpoint(this);
- int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.displayName_ = displayName_;
- result.description_ = description_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.Endpoint result) {
if (deployedModelsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
deployedModels_ = java.util.Collections.unmodifiableList(deployedModels_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.deployedModels_ = deployedModels_;
} else {
result.deployedModels_ = deployedModelsBuilder_.build();
}
- result.trafficSplit_ = internalGetTrafficSplit();
- result.trafficSplit_.makeImmutable();
- result.etag_ = etag_;
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Endpoint result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.displayName_ = displayName_;
}
- if (encryptionSpecBuilder_ == null) {
- result.encryptionSpec_ = encryptionSpec_;
- } else {
- result.encryptionSpec_ = encryptionSpecBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.description_ = description_;
}
- result.network_ = network_;
- result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_;
- result.modelDeploymentMonitoringJob_ = modelDeploymentMonitoringJob_;
- if (predictRequestResponseLoggingConfigBuilder_ == null) {
- result.predictRequestResponseLoggingConfig_ = predictRequestResponseLoggingConfig_;
- } else {
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.trafficSplit_ = internalGetTrafficSplit();
+ result.trafficSplit_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.etag_ = etag_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.encryptionSpec_ =
+ encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.network_ = network_;
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.enablePrivateServiceConnect_ = enablePrivateServiceConnect_;
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.modelDeploymentMonitoringJob_ = modelDeploymentMonitoringJob_;
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
result.predictRequestResponseLoggingConfig_ =
- predictRequestResponseLoggingConfigBuilder_.build();
+ predictRequestResponseLoggingConfigBuilder_ == null
+ ? predictRequestResponseLoggingConfig_
+ : predictRequestResponseLoggingConfigBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -1545,21 +1581,24 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
if (other == com.google.cloud.aiplatform.v1.Endpoint.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (deployedModelsBuilder_ == null) {
if (!other.deployedModels_.isEmpty()) {
if (deployedModels_.isEmpty()) {
deployedModels_ = other.deployedModels_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureDeployedModelsIsMutable();
deployedModels_.addAll(other.deployedModels_);
@@ -1572,7 +1611,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
deployedModelsBuilder_.dispose();
deployedModelsBuilder_ = null;
deployedModels_ = other.deployedModels_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
deployedModelsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getDeployedModelsFieldBuilder()
@@ -1583,11 +1622,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
}
}
internalGetMutableTrafficSplit().mergeFrom(other.internalGetTrafficSplit());
+ bitField0_ |= 0x00000010;
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000020;
onChanged();
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000040;
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
@@ -1599,6 +1641,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
}
if (!other.getNetwork().isEmpty()) {
network_ = other.network_;
+ bitField0_ |= 0x00000400;
onChanged();
}
if (other.getEnablePrivateServiceConnect() != false) {
@@ -1606,6 +1649,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Endpoint other) {
}
if (!other.getModelDeploymentMonitoringJob().isEmpty()) {
modelDeploymentMonitoringJob_ = other.modelDeploymentMonitoringJob_;
+ bitField0_ |= 0x00001000;
onChanged();
}
if (other.hasPredictRequestResponseLoggingConfig()) {
@@ -1640,19 +1684,19 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
description_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 34:
@@ -1677,12 +1721,13 @@ public Builder mergeFrom(
internalGetMutableTrafficSplit()
.getMutableMap()
.put(trafficSplit__.getKey(), trafficSplit__.getValue());
+ bitField0_ |= 0x00000010;
break;
} // case 42
case 50:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000020;
break;
} // case 50
case 58:
@@ -1694,42 +1739,43 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000040;
break;
} // case 58
case 66:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000080;
break;
} // case 66
case 74:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000100;
break;
} // case 74
case 82:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000200;
break;
} // case 82
case 106:
{
network_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000400;
break;
} // case 106
case 114:
{
modelDeploymentMonitoringJob_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00001000;
break;
} // case 114
case 136:
{
enablePrivateServiceConnect_ = input.readBool();
-
+ bitField0_ |= 0x00000800;
break;
} // case 136
case 146:
@@ -1737,7 +1783,7 @@ public Builder mergeFrom(
input.readMessage(
getPredictRequestResponseLoggingConfigFieldBuilder().getBuilder(),
extensionRegistry);
-
+ bitField0_ |= 0x00002000;
break;
} // case 146
default:
@@ -1820,8 +1866,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1837,8 +1883,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1859,8 +1905,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1932,8 +1978,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1951,8 +1997,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1975,8 +2021,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -2042,8 +2088,8 @@ public Builder setDescription(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
description_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -2059,8 +2105,8 @@ public Builder setDescription(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDescription() {
-
description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -2081,8 +2127,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
description_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -2091,10 +2137,10 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureDeployedModelsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000008) != 0)) {
deployedModels_ =
new java.util.ArrayList(deployedModels_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000008;
}
}
@@ -2389,7 +2435,7 @@ public Builder addAllDeployedModels(
public Builder clearDeployedModels() {
if (deployedModelsBuilder_ == null) {
deployedModels_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
deployedModelsBuilder_.clear();
@@ -2564,7 +2610,7 @@ public com.google.cloud.aiplatform.v1.DeployedModel.Builder addDeployedModelsBui
com.google.cloud.aiplatform.v1.DeployedModel.Builder,
com.google.cloud.aiplatform.v1.DeployedModelOrBuilder>(
deployedModels_,
- ((bitField0_ & 0x00000001) != 0),
+ ((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
deployedModels_ = null;
@@ -2585,8 +2631,6 @@ public com.google.cloud.aiplatform.v1.DeployedModel.Builder addDeployedModelsBui
private com.google.protobuf.MapField
internalGetMutableTrafficSplit() {
- onChanged();
- ;
if (trafficSplit_ == null) {
trafficSplit_ =
com.google.protobuf.MapField.newMapField(TrafficSplitDefaultEntryHolder.defaultEntry);
@@ -2594,6 +2638,8 @@ public com.google.cloud.aiplatform.v1.DeployedModel.Builder addDeployedModelsBui
if (!trafficSplit_.isMutable()) {
trafficSplit_ = trafficSplit_.copy();
}
+ bitField0_ |= 0x00000010;
+ onChanged();
return trafficSplit_;
}
@@ -2694,6 +2740,7 @@ public int getTrafficSplitOrThrow(java.lang.String key) {
}
public Builder clearTrafficSplit() {
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableTrafficSplit().getMutableMap().clear();
return this;
}
@@ -2721,6 +2768,7 @@ public Builder removeTrafficSplit(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableTrafficSplit() {
+ bitField0_ |= 0x00000010;
return internalGetMutableTrafficSplit().getMutableMap();
}
/**
@@ -2743,6 +2791,7 @@ public Builder putTrafficSplit(java.lang.String key, int value) {
}
internalGetMutableTrafficSplit().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -2761,6 +2810,7 @@ public Builder putTrafficSplit(java.lang.String key, int value) {
*/
public Builder putAllTrafficSplit(java.util.Map values) {
internalGetMutableTrafficSplit().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000010;
return this;
}
@@ -2828,8 +2878,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2846,8 +2896,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2869,8 +2919,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2886,14 +2936,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000040;
+ onChanged();
return labels_;
}
@@ -2957,8 +3007,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 7;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -2991,6 +3043,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000040);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -3017,6 +3070,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000040;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -3039,8 +3093,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000040;
return this;
}
/**
@@ -3058,6 +3112,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000040;
return this;
}
@@ -3081,7 +3136,7 @@ public Builder putAllLabels(java.util.Map va
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -3122,11 +3177,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3143,11 +3198,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3163,17 +3218,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000080) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -3188,14 +3244,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3210,7 +3265,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000080;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -3282,7 +3337,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
*
@@ -3323,11 +3378,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000100;
+ onChanged();
return this;
}
/**
@@ -3344,11 +3399,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000100;
+ onChanged();
return this;
}
/**
@@ -3364,17 +3419,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000100) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000100;
+ onChanged();
return this;
}
/**
@@ -3389,14 +3445,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000100);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3411,7 +3466,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000100;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -3483,7 +3538,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
* @return Whether the encryptionSpec field is set.
*/
public boolean hasEncryptionSpec() {
- return encryptionSpecBuilder_ != null || encryptionSpec_ != null;
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
*
@@ -3524,11 +3579,11 @@ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec v
throw new NullPointerException();
}
encryptionSpec_ = value;
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3546,11 +3601,11 @@ public Builder setEncryptionSpec(
com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) {
if (encryptionSpecBuilder_ == null) {
encryptionSpec_ = builderForValue.build();
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3566,19 +3621,19 @@ public Builder setEncryptionSpec(
*/
public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
if (encryptionSpecBuilder_ == null) {
- if (encryptionSpec_ != null) {
- encryptionSpec_ =
- com.google.cloud.aiplatform.v1.EncryptionSpec.newBuilder(encryptionSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000200) != 0)
+ && encryptionSpec_ != null
+ && encryptionSpec_
+ != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) {
+ getEncryptionSpecBuilder().mergeFrom(value);
} else {
encryptionSpec_ = value;
}
- onChanged();
} else {
encryptionSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3593,14 +3648,13 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10;
*/
public Builder clearEncryptionSpec() {
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- onChanged();
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3615,7 +3669,7 @@ public Builder clearEncryptionSpec() {
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10;
*/
public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
-
+ bitField0_ |= 0x00000200;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
@@ -3764,8 +3818,8 @@ public Builder setNetwork(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
network_ = value;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -3793,8 +3847,8 @@ public Builder setNetwork(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearNetwork() {
-
network_ = getDefaultInstance().getNetwork();
+ bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
@@ -3827,8 +3881,8 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
network_ = value;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -3878,6 +3932,7 @@ public boolean getEnablePrivateServiceConnect() {
public Builder setEnablePrivateServiceConnect(boolean value) {
enablePrivateServiceConnect_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -3900,7 +3955,7 @@ public Builder setEnablePrivateServiceConnect(boolean value) {
*/
@java.lang.Deprecated
public Builder clearEnablePrivateServiceConnect() {
-
+ bitField0_ = (bitField0_ & ~0x00000800);
enablePrivateServiceConnect_ = false;
onChanged();
return this;
@@ -3982,8 +4037,8 @@ public Builder setModelDeploymentMonitoringJob(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
modelDeploymentMonitoringJob_ = value;
+ bitField0_ |= 0x00001000;
onChanged();
return this;
}
@@ -4004,8 +4059,8 @@ public Builder setModelDeploymentMonitoringJob(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearModelDeploymentMonitoringJob() {
-
modelDeploymentMonitoringJob_ = getDefaultInstance().getModelDeploymentMonitoringJob();
+ bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
@@ -4031,8 +4086,8 @@ public Builder setModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteStri
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
modelDeploymentMonitoringJob_ = value;
+ bitField0_ |= 0x00001000;
onChanged();
return this;
}
@@ -4058,8 +4113,7 @@ public Builder setModelDeploymentMonitoringJobBytes(com.google.protobuf.ByteStri
* @return Whether the predictRequestResponseLoggingConfig field is set.
*/
public boolean hasPredictRequestResponseLoggingConfig() {
- return predictRequestResponseLoggingConfigBuilder_ != null
- || predictRequestResponseLoggingConfig_ != null;
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
*
@@ -4103,11 +4157,11 @@ public Builder setPredictRequestResponseLoggingConfig(
throw new NullPointerException();
}
predictRequestResponseLoggingConfig_ = value;
- onChanged();
} else {
predictRequestResponseLoggingConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -4126,11 +4180,11 @@ public Builder setPredictRequestResponseLoggingConfig(
builderForValue) {
if (predictRequestResponseLoggingConfigBuilder_ == null) {
predictRequestResponseLoggingConfig_ = builderForValue.build();
- onChanged();
} else {
predictRequestResponseLoggingConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -4147,20 +4201,20 @@ public Builder setPredictRequestResponseLoggingConfig(
public Builder mergePredictRequestResponseLoggingConfig(
com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig value) {
if (predictRequestResponseLoggingConfigBuilder_ == null) {
- if (predictRequestResponseLoggingConfig_ != null) {
- predictRequestResponseLoggingConfig_ =
- com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.newBuilder(
- predictRequestResponseLoggingConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00002000) != 0)
+ && predictRequestResponseLoggingConfig_ != null
+ && predictRequestResponseLoggingConfig_
+ != com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig
+ .getDefaultInstance()) {
+ getPredictRequestResponseLoggingConfigBuilder().mergeFrom(value);
} else {
predictRequestResponseLoggingConfig_ = value;
}
- onChanged();
} else {
predictRequestResponseLoggingConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -4175,14 +4229,13 @@ public Builder mergePredictRequestResponseLoggingConfig(
*
*/
public Builder clearPredictRequestResponseLoggingConfig() {
- if (predictRequestResponseLoggingConfigBuilder_ == null) {
- predictRequestResponseLoggingConfig_ = null;
- onChanged();
- } else {
- predictRequestResponseLoggingConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00002000);
+ predictRequestResponseLoggingConfig_ = null;
+ if (predictRequestResponseLoggingConfigBuilder_ != null) {
+ predictRequestResponseLoggingConfigBuilder_.dispose();
predictRequestResponseLoggingConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4198,7 +4251,7 @@ public Builder clearPredictRequestResponseLoggingConfig() {
*/
public com.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig.Builder
getPredictRequestResponseLoggingConfigBuilder() {
-
+ bitField0_ |= 0x00002000;
onChanged();
return getPredictRequestResponseLoggingConfigFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
index 816f8c320181..e3182e398d62 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EndpointOrBuilder.java
@@ -353,7 +353,6 @@ public interface EndpointOrBuilder
*
* map<string, string> labels = 7;
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityType.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityType.java
index 69f5226027f8..c3333975bba3 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityType.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityType.java
@@ -83,7 +83,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -144,7 +146,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DESCRIPTION_FIELD_NUMBER = 2;
- private volatile java.lang.Object description_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
/**
*
*
@@ -238,7 +242,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 4;
@@ -287,7 +291,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int LABELS_FIELD_NUMBER = 6;
@@ -303,6 +307,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -387,7 +392,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -425,7 +433,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public static final int ETAG_FIELD_NUMBER = 7;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -548,7 +558,9 @@ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig getMonitoring
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigOrBuilder
getMonitoringConfigOrBuilder() {
- return getMonitoringConfig();
+ return monitoringConfig_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.getDefaultInstance()
+ : monitoringConfig_;
}
private byte memoizedIsInitialized = -1;
@@ -847,29 +859,24 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
description_ = "";
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
internalGetMutableLabels().clear();
etag_ = "";
-
- if (monitoringConfigBuilder_ == null) {
- monitoringConfig_ = null;
- } else {
- monitoringConfig_ = null;
+ monitoringConfig_ = null;
+ if (monitoringConfigBuilder_ != null) {
+ monitoringConfigBuilder_.dispose();
monitoringConfigBuilder_ = null;
}
return this;
@@ -899,29 +906,38 @@ public com.google.cloud.aiplatform.v1.EntityType build() {
public com.google.cloud.aiplatform.v1.EntityType buildPartial() {
com.google.cloud.aiplatform.v1.EntityType result =
new com.google.cloud.aiplatform.v1.EntityType(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.EntityType result) {
int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.description_ = description_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.description_ = description_;
}
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- result.etag_ = etag_;
- if (monitoringConfigBuilder_ == null) {
- result.monitoringConfig_ = monitoringConfig_;
- } else {
- result.monitoringConfig_ = monitoringConfigBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.etag_ = etag_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.monitoringConfig_ =
+ monitoringConfigBuilder_ == null ? monitoringConfig_ : monitoringConfigBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -971,10 +987,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EntityType other) {
if (other == com.google.cloud.aiplatform.v1.EntityType.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasCreateTime()) {
@@ -984,8 +1002,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EntityType other) {
mergeUpdateTime(other.getUpdateTime());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000010;
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (other.hasMonitoringConfig()) {
@@ -1020,25 +1040,25 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
description_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 34:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
case 50:
@@ -1050,19 +1070,20 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000010;
break;
} // case 50
case 58:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000020;
break;
} // case 58
case 66:
{
input.readMessage(
getMonitoringConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 66
default:
@@ -1163,8 +1184,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1186,8 +1207,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1214,8 +1235,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1281,8 +1302,8 @@ public Builder setDescription(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
description_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1298,8 +1319,8 @@ public Builder setDescription(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDescription() {
-
description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1320,8 +1341,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
description_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1346,7 +1367,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1387,11 +1408,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1408,11 +1429,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1428,17 +1449,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1453,14 +1475,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1475,7 +1496,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -1547,7 +1568,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -1588,11 +1609,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1609,11 +1630,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1629,17 +1650,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000008) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1654,14 +1676,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1676,7 +1697,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -1739,14 +1760,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000010;
+ onChanged();
return labels_;
}
@@ -1825,8 +1846,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -1864,6 +1887,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -1895,6 +1919,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000010;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -1922,8 +1947,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -1946,6 +1971,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000010;
return this;
}
@@ -2013,8 +2039,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2031,8 +2057,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -2054,8 +2080,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2087,7 +2113,7 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
* @return Whether the monitoringConfig field is set.
*/
public boolean hasMonitoringConfig() {
- return monitoringConfigBuilder_ != null || monitoringConfig_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2143,11 +2169,11 @@ public Builder setMonitoringConfig(
throw new NullPointerException();
}
monitoringConfig_ = value;
- onChanged();
} else {
monitoringConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2172,11 +2198,11 @@ public Builder setMonitoringConfig(
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder builderForValue) {
if (monitoringConfigBuilder_ == null) {
monitoringConfig_ = builderForValue.build();
- onChanged();
} else {
monitoringConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2200,20 +2226,20 @@ public Builder setMonitoringConfig(
public Builder mergeMonitoringConfig(
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig value) {
if (monitoringConfigBuilder_ == null) {
- if (monitoringConfig_ != null) {
- monitoringConfig_ =
- com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.newBuilder(
- monitoringConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && monitoringConfig_ != null
+ && monitoringConfig_
+ != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig
+ .getDefaultInstance()) {
+ getMonitoringConfigBuilder().mergeFrom(value);
} else {
monitoringConfig_ = value;
}
- onChanged();
} else {
monitoringConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2235,14 +2261,13 @@ public Builder mergeMonitoringConfig(
*
*/
public Builder clearMonitoringConfig() {
- if (monitoringConfigBuilder_ == null) {
- monitoringConfig_ = null;
- onChanged();
- } else {
- monitoringConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ monitoringConfig_ = null;
+ if (monitoringConfigBuilder_ != null) {
+ monitoringConfigBuilder_.dispose();
monitoringConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2265,7 +2290,7 @@ public Builder clearMonitoringConfig() {
*/
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.Builder
getMonitoringConfigBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getMonitoringConfigFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java
index 4b5eed5403e1..c16642c74206 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EntityTypeOrBuilder.java
@@ -239,7 +239,6 @@ public interface EntityTypeOrBuilder
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVar.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVar.java
index 86e5564a46d2..851a017276fc 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVar.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EnvVar.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -118,7 +120,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int VALUE_FIELD_NUMBER = 2;
- private volatile java.lang.Object value_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object value_ = "";
/**
*
*
@@ -382,10 +386,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
value_ = "";
-
return this;
}
@@ -413,12 +416,23 @@ public com.google.cloud.aiplatform.v1.EnvVar build() {
public com.google.cloud.aiplatform.v1.EnvVar buildPartial() {
com.google.cloud.aiplatform.v1.EnvVar result =
new com.google.cloud.aiplatform.v1.EnvVar(this);
- result.name_ = name_;
- result.value_ = value_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.EnvVar result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.value_ = value_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -466,10 +480,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.EnvVar other) {
if (other == com.google.cloud.aiplatform.v1.EnvVar.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getValue().isEmpty()) {
value_ = other.value_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -501,13 +517,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
value_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -527,6 +543,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -588,8 +606,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -605,8 +623,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -627,8 +645,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -712,8 +730,8 @@ public Builder setValue(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
value_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -735,8 +753,8 @@ public Builder setValue(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearValue() {
-
value_ = getDefaultInstance().getValue();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -763,8 +781,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
value_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Event.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Event.java
index abfd5f13be19..a97aca9a3ee2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Event.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Event.java
@@ -239,7 +239,9 @@ private Type(int value) {
}
public static final int ARTIFACT_FIELD_NUMBER = 1;
- private volatile java.lang.Object artifact_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object artifact_ = "";
/**
*
*
@@ -292,7 +294,9 @@ public com.google.protobuf.ByteString getArtifactBytes() {
}
public static final int EXECUTION_FIELD_NUMBER = 2;
- private volatile java.lang.Object execution_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object execution_ = "";
/**
*
*
@@ -390,11 +394,11 @@ public com.google.protobuf.Timestamp getEventTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
- return getEventTime();
+ return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
}
public static final int TYPE_FIELD_NUMBER = 4;
- private int type_;
+ private int type_ = 0;
/**
*
*
@@ -427,9 +431,8 @@ public int getTypeValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Event.Type getType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Event.Type result =
- com.google.cloud.aiplatform.v1.Event.Type.valueOf(type_);
+ com.google.cloud.aiplatform.v1.Event.Type.forNumber(type_);
return result == null ? com.google.cloud.aiplatform.v1.Event.Type.UNRECOGNIZED : result;
}
@@ -446,6 +449,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -527,7 +531,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 5;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -828,18 +835,15 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
artifact_ = "";
-
execution_ = "";
-
- if (eventTimeBuilder_ == null) {
- eventTime_ = null;
- } else {
- eventTime_ = null;
+ eventTime_ = null;
+ if (eventTimeBuilder_ != null) {
+ eventTimeBuilder_.dispose();
eventTimeBuilder_ = null;
}
type_ = 0;
-
internalGetMutableLabels().clear();
return this;
}
@@ -867,21 +871,33 @@ public com.google.cloud.aiplatform.v1.Event build() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.Event buildPartial() {
com.google.cloud.aiplatform.v1.Event result = new com.google.cloud.aiplatform.v1.Event(this);
- int from_bitField0_ = bitField0_;
- result.artifact_ = artifact_;
- result.execution_ = execution_;
- if (eventTimeBuilder_ == null) {
- result.eventTime_ = eventTime_;
- } else {
- result.eventTime_ = eventTimeBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.type_ = type_;
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Event result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.artifact_ = artifact_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.execution_ = execution_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.eventTime_ = eventTimeBuilder_ == null ? eventTime_ : eventTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.type_ = type_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -929,10 +945,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Event other) {
if (other == com.google.cloud.aiplatform.v1.Event.getDefaultInstance()) return this;
if (!other.getArtifact().isEmpty()) {
artifact_ = other.artifact_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getExecution().isEmpty()) {
execution_ = other.execution_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasEventTime()) {
@@ -942,6 +960,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Event other) {
setTypeValue(other.getTypeValue());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000010;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -971,25 +990,25 @@ public Builder mergeFrom(
case 10:
{
artifact_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
execution_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
input.readMessage(getEventTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 32:
{
type_ = input.readEnum();
-
+ bitField0_ |= 0x00000008;
break;
} // case 32
case 42:
@@ -1001,6 +1020,7 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000010;
break;
} // case 42
default:
@@ -1089,8 +1109,8 @@ public Builder setArtifact(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
artifact_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1108,8 +1128,8 @@ public Builder setArtifact(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearArtifact() {
-
artifact_ = getDefaultInstance().getArtifact();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1132,8 +1152,8 @@ public Builder setArtifactBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
artifact_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1205,8 +1225,8 @@ public Builder setExecution(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
execution_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1224,8 +1244,8 @@ public Builder setExecution(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearExecution() {
-
execution_ = getDefaultInstance().getExecution();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1248,8 +1268,8 @@ public Builder setExecutionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
execution_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1273,7 +1293,7 @@ public Builder setExecutionBytes(com.google.protobuf.ByteString value) {
* @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
- return eventTimeBuilder_ != null || eventTime_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1310,11 +1330,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
eventTime_ = value;
- onChanged();
} else {
eventTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1330,11 +1350,11 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) {
public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (eventTimeBuilder_ == null) {
eventTime_ = builderForValue.build();
- onChanged();
} else {
eventTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1349,17 +1369,18 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu
*/
public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
if (eventTimeBuilder_ == null) {
- if (eventTime_ != null) {
- eventTime_ =
- com.google.protobuf.Timestamp.newBuilder(eventTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && eventTime_ != null
+ && eventTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getEventTimeBuilder().mergeFrom(value);
} else {
eventTime_ = value;
}
- onChanged();
} else {
eventTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1373,14 +1394,13 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearEventTime() {
- if (eventTimeBuilder_ == null) {
- eventTime_ = null;
- onChanged();
- } else {
- eventTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ eventTime_ = null;
+ if (eventTimeBuilder_ != null) {
+ eventTimeBuilder_.dispose();
eventTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1394,7 +1414,7 @@ public Builder clearEventTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getEventTimeFieldBuilder().getBuilder();
}
@@ -1475,8 +1495,8 @@ public int getTypeValue() {
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
-
type_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1495,9 +1515,8 @@ public Builder setTypeValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Event.Type getType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Event.Type result =
- com.google.cloud.aiplatform.v1.Event.Type.valueOf(type_);
+ com.google.cloud.aiplatform.v1.Event.Type.forNumber(type_);
return result == null ? com.google.cloud.aiplatform.v1.Event.Type.UNRECOGNIZED : result;
}
/**
@@ -1518,7 +1537,7 @@ public Builder setType(com.google.cloud.aiplatform.v1.Event.Type value) {
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000008;
type_ = value.getNumber();
onChanged();
return this;
@@ -1537,7 +1556,7 @@ public Builder setType(com.google.cloud.aiplatform.v1.Event.Type value) {
* @return This builder for chaining.
*/
public Builder clearType() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
type_ = 0;
onChanged();
return this;
@@ -1554,14 +1573,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000010;
+ onChanged();
return labels_;
}
@@ -1637,8 +1656,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 5;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -1675,6 +1696,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -1705,6 +1727,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000010;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -1731,8 +1754,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -1754,6 +1777,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000010;
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventOrBuilder.java
index 5cecaf13ff34..470b8de90a41 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/EventOrBuilder.java
@@ -222,7 +222,6 @@ public interface EventOrBuilder
*
* map<string, string> labels = 5;
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesOverride.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesOverride.java
index 89217ca0f278..f77cea31ebec 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesOverride.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesOverride.java
@@ -226,7 +226,7 @@ private DataFormat(int value) {
}
public static final int NEIGHBOR_COUNT_FIELD_NUMBER = 1;
- private int neighborCount_;
+ private int neighborCount_ = 0;
/**
*
*
@@ -244,7 +244,7 @@ public int getNeighborCount() {
}
public static final int CROWDING_COUNT_FIELD_NUMBER = 2;
- private int crowdingCount_;
+ private int crowdingCount_ = 0;
/**
*
*
@@ -262,6 +262,8 @@ public int getCrowdingCount() {
}
public static final int RESTRICTIONS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
private java.util.List
restrictions_;
/**
@@ -340,7 +342,7 @@ public com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace getRestricti
}
public static final int RETURN_EMBEDDINGS_FIELD_NUMBER = 4;
- private boolean returnEmbeddings_;
+ private boolean returnEmbeddings_ = false;
/**
*
*
@@ -358,7 +360,7 @@ public boolean getReturnEmbeddings() {
}
public static final int DATA_FORMAT_FIELD_NUMBER = 5;
- private int dataFormat_;
+ private int dataFormat_ = 0;
/**
*
*
@@ -387,9 +389,8 @@ public int getDataFormatValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat getDataFormat() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat result =
- com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat.valueOf(dataFormat_);
+ com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat.forNumber(dataFormat_);
return result == null
? com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat.UNRECOGNIZED
: result;
@@ -634,21 +635,18 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
neighborCount_ = 0;
-
crowdingCount_ = 0;
-
if (restrictionsBuilder_ == null) {
restrictions_ = java.util.Collections.emptyList();
} else {
restrictions_ = null;
restrictionsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
returnEmbeddings_ = false;
-
dataFormat_ = 0;
-
return this;
}
@@ -676,22 +674,41 @@ public com.google.cloud.aiplatform.v1.ExamplesOverride build() {
public com.google.cloud.aiplatform.v1.ExamplesOverride buildPartial() {
com.google.cloud.aiplatform.v1.ExamplesOverride result =
new com.google.cloud.aiplatform.v1.ExamplesOverride(this);
- int from_bitField0_ = bitField0_;
- result.neighborCount_ = neighborCount_;
- result.crowdingCount_ = crowdingCount_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExamplesOverride result) {
if (restrictionsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
restrictions_ = java.util.Collections.unmodifiableList(restrictions_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.restrictions_ = restrictions_;
} else {
result.restrictions_ = restrictionsBuilder_.build();
}
- result.returnEmbeddings_ = returnEmbeddings_;
- result.dataFormat_ = dataFormat_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExamplesOverride result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.neighborCount_ = neighborCount_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.crowdingCount_ = crowdingCount_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.returnEmbeddings_ = returnEmbeddings_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.dataFormat_ = dataFormat_;
+ }
}
@java.lang.Override
@@ -750,7 +767,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExamplesOverride other)
if (!other.restrictions_.isEmpty()) {
if (restrictions_.isEmpty()) {
restrictions_ = other.restrictions_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureRestrictionsIsMutable();
restrictions_.addAll(other.restrictions_);
@@ -763,7 +780,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExamplesOverride other)
restrictionsBuilder_.dispose();
restrictionsBuilder_ = null;
restrictions_ = other.restrictions_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
restrictionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getRestrictionsFieldBuilder()
@@ -808,13 +825,13 @@ public Builder mergeFrom(
case 8:
{
neighborCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
crowdingCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
case 26:
@@ -834,13 +851,13 @@ public Builder mergeFrom(
case 32:
{
returnEmbeddings_ = input.readBool();
-
+ bitField0_ |= 0x00000008;
break;
} // case 32
case 40:
{
dataFormat_ = input.readEnum();
-
+ bitField0_ |= 0x00000010;
break;
} // case 40
default:
@@ -893,6 +910,7 @@ public int getNeighborCount() {
public Builder setNeighborCount(int value) {
neighborCount_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -908,7 +926,7 @@ public Builder setNeighborCount(int value) {
* @return This builder for chaining.
*/
public Builder clearNeighborCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
neighborCount_ = 0;
onChanged();
return this;
@@ -945,6 +963,7 @@ public int getCrowdingCount() {
public Builder setCrowdingCount(int value) {
crowdingCount_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -960,7 +979,7 @@ public Builder setCrowdingCount(int value) {
* @return This builder for chaining.
*/
public Builder clearCrowdingCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
crowdingCount_ = 0;
onChanged();
return this;
@@ -970,11 +989,11 @@ public Builder clearCrowdingCount() {
restrictions_ = java.util.Collections.emptyList();
private void ensureRestrictionsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
restrictions_ =
new java.util.ArrayList(
restrictions_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000004;
}
}
@@ -1208,7 +1227,7 @@ public Builder addAllRestrictions(
public Builder clearRestrictions() {
if (restrictionsBuilder_ == null) {
restrictions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
restrictionsBuilder_.clear();
@@ -1345,7 +1364,7 @@ public Builder removeRestrictions(int index) {
com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace,
com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace.Builder,
com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespaceOrBuilder>(
- restrictions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ restrictions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
restrictions_ = null;
}
return restrictionsBuilder_;
@@ -1382,6 +1401,7 @@ public boolean getReturnEmbeddings() {
public Builder setReturnEmbeddings(boolean value) {
returnEmbeddings_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1397,7 +1417,7 @@ public Builder setReturnEmbeddings(boolean value) {
* @return This builder for chaining.
*/
public Builder clearReturnEmbeddings() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
returnEmbeddings_ = false;
onChanged();
return this;
@@ -1432,8 +1452,8 @@ public int getDataFormatValue() {
* @return This builder for chaining.
*/
public Builder setDataFormatValue(int value) {
-
dataFormat_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -1450,9 +1470,8 @@ public Builder setDataFormatValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat getDataFormat() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat result =
- com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat.valueOf(dataFormat_);
+ com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat.forNumber(dataFormat_);
return result == null
? com.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat.UNRECOGNIZED
: result;
@@ -1473,7 +1492,7 @@ public Builder setDataFormat(com.google.cloud.aiplatform.v1.ExamplesOverride.Dat
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000010;
dataFormat_ = value.getNumber();
onChanged();
return this;
@@ -1490,7 +1509,7 @@ public Builder setDataFormat(com.google.cloud.aiplatform.v1.ExamplesOverride.Dat
* @return This builder for chaining.
*/
public Builder clearDataFormat() {
-
+ bitField0_ = (bitField0_ & ~0x00000010);
dataFormat_ = 0;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesRestrictionsNamespace.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesRestrictionsNamespace.java
index bab369816cca..0806625db8c8 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesRestrictionsNamespace.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExamplesRestrictionsNamespace.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAMESPACE_NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object namespaceName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object namespaceName_ = "";
/**
*
*
@@ -119,6 +121,8 @@ public com.google.protobuf.ByteString getNamespaceNameBytes() {
}
public static final int ALLOW_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList allow_;
/**
*
@@ -180,6 +184,8 @@ public com.google.protobuf.ByteString getAllowBytes(int index) {
}
public static final int DENY_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList deny_;
/**
*
@@ -470,12 +476,12 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
namespaceName_ = "";
-
allow_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
- deny_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
+ deny_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -504,20 +510,34 @@ public com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace build() {
public com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace buildPartial() {
com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace result =
new com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace(this);
- int from_bitField0_ = bitField0_;
- result.namespaceName_ = namespaceName_;
- if (((bitField0_ & 0x00000001) != 0)) {
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace result) {
+ if (((bitField0_ & 0x00000002) != 0)) {
allow_ = allow_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.allow_ = allow_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
deny_ = deny_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.deny_ = deny_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.namespaceName_ = namespaceName_;
+ }
}
@java.lang.Override
@@ -569,12 +589,13 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExamplesRestrictionsName
return this;
if (!other.getNamespaceName().isEmpty()) {
namespaceName_ = other.namespaceName_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.allow_.isEmpty()) {
if (allow_.isEmpty()) {
allow_ = other.allow_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAllowIsMutable();
allow_.addAll(other.allow_);
@@ -584,7 +605,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExamplesRestrictionsName
if (!other.deny_.isEmpty()) {
if (deny_.isEmpty()) {
deny_ = other.deny_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDenyIsMutable();
deny_.addAll(other.deny_);
@@ -620,7 +641,7 @@ public Builder mergeFrom(
case 10:
{
namespaceName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
@@ -717,8 +738,8 @@ public Builder setNamespaceName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
namespaceName_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -734,8 +755,8 @@ public Builder setNamespaceName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearNamespaceName() {
-
namespaceName_ = getDefaultInstance().getNamespaceName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -756,8 +777,8 @@ public Builder setNamespaceNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
namespaceName_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -766,9 +787,9 @@ public Builder setNamespaceNameBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureAllowIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
allow_ = new com.google.protobuf.LazyStringArrayList(allow_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
}
}
/**
@@ -903,7 +924,7 @@ public Builder addAllAllow(java.lang.Iterable values) {
*/
public Builder clearAllow() {
allow_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -934,9 +955,9 @@ public Builder addAllowBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureDenyIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
deny_ = new com.google.protobuf.LazyStringArrayList(deny_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000004;
}
}
/**
@@ -1071,7 +1092,7 @@ public Builder addAllDeny(java.lang.Iterable values) {
*/
public Builder clearDeny() {
deny_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Execution.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Execution.java
index de0604a1d33f..589c5346a632 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Execution.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Execution.java
@@ -330,7 +330,9 @@ private State(int value) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -379,7 +381,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -430,7 +434,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
}
public static final int STATE_FIELD_NUMBER = 6;
- private int state_;
+ private int state_ = 0;
/**
*
*
@@ -465,14 +469,15 @@ public int getStateValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Execution.State getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Execution.State result =
- com.google.cloud.aiplatform.v1.Execution.State.valueOf(state_);
+ com.google.cloud.aiplatform.v1.Execution.State.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.Execution.State.UNRECOGNIZED : result;
}
public static final int ETAG_FIELD_NUMBER = 9;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -535,6 +540,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -607,7 +613,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 10;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -686,7 +695,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 12;
@@ -735,11 +744,13 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int SCHEMA_TITLE_FIELD_NUMBER = 13;
- private volatile java.lang.Object schemaTitle_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object schemaTitle_ = "";
/**
*
*
@@ -794,7 +805,9 @@ public com.google.protobuf.ByteString getSchemaTitleBytes() {
}
public static final int SCHEMA_VERSION_FIELD_NUMBER = 14;
- private volatile java.lang.Object schemaVersion_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object schemaVersion_ = "";
/**
*
*
@@ -897,11 +910,13 @@ public com.google.protobuf.Struct getMetadata() {
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
- return getMetadata();
+ return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_;
}
public static final int DESCRIPTION_FIELD_NUMBER = 16;
- private volatile java.lang.Object description_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
/**
*
*
@@ -1278,39 +1293,30 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
displayName_ = "";
-
state_ = 0;
-
etag_ = "";
-
internalGetMutableLabels().clear();
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
schemaTitle_ = "";
-
schemaVersion_ = "";
-
- if (metadataBuilder_ == null) {
- metadata_ = null;
- } else {
- metadata_ = null;
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
description_ = "";
-
return this;
}
@@ -1338,33 +1344,49 @@ public com.google.cloud.aiplatform.v1.Execution build() {
public com.google.cloud.aiplatform.v1.Execution buildPartial() {
com.google.cloud.aiplatform.v1.Execution result =
new com.google.cloud.aiplatform.v1.Execution(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Execution result) {
int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.displayName_ = displayName_;
- result.state_ = state_;
- result.etag_ = etag_;
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.displayName_ = displayName_;
}
- result.schemaTitle_ = schemaTitle_;
- result.schemaVersion_ = schemaVersion_;
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.state_ = state_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.etag_ = etag_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.schemaTitle_ = schemaTitle_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.schemaVersion_ = schemaVersion_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.description_ = description_;
}
- result.description_ = description_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -1414,10 +1436,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Execution other) {
if (other == com.google.cloud.aiplatform.v1.Execution.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.state_ != 0) {
@@ -1425,9 +1449,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Execution other) {
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000008;
onChanged();
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000010;
if (other.hasCreateTime()) {
mergeCreateTime(other.getCreateTime());
}
@@ -1436,10 +1462,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Execution other) {
}
if (!other.getSchemaTitle().isEmpty()) {
schemaTitle_ = other.schemaTitle_;
+ bitField0_ |= 0x00000080;
onChanged();
}
if (!other.getSchemaVersion().isEmpty()) {
schemaVersion_ = other.schemaVersion_;
+ bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasMetadata()) {
@@ -1447,6 +1475,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Execution other) {
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
+ bitField0_ |= 0x00000400;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -1478,25 +1507,25 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 48:
{
state_ = input.readEnum();
-
+ bitField0_ |= 0x00000004;
break;
} // case 48
case 74:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 74
case 82:
@@ -1508,42 +1537,43 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000010;
break;
} // case 82
case 90:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000020;
break;
} // case 90
case 98:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 98
case 106:
{
schemaTitle_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000080;
break;
} // case 106
case 114:
{
schemaVersion_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000100;
break;
} // case 114
case 122:
{
input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000200;
break;
} // case 122
case 130:
{
description_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000400;
break;
} // case 130
default:
@@ -1626,8 +1656,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1643,8 +1673,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1665,8 +1695,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1735,8 +1765,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1753,8 +1783,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1776,8 +1806,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1817,8 +1847,8 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
-
state_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1838,9 +1868,8 @@ public Builder setStateValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Execution.State getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Execution.State result =
- com.google.cloud.aiplatform.v1.Execution.State.valueOf(state_);
+ com.google.cloud.aiplatform.v1.Execution.State.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.Execution.State.UNRECOGNIZED : result;
}
/**
@@ -1862,7 +1891,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.Execution.State value) {
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000004;
state_ = value.getNumber();
onChanged();
return this;
@@ -1882,7 +1911,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.Execution.State value) {
* @return This builder for chaining.
*/
public Builder clearState() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
state_ = 0;
onChanged();
return this;
@@ -1952,8 +1981,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1970,8 +1999,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -1993,8 +2022,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -2010,14 +2039,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000010;
+ onChanged();
return labels_;
}
@@ -2084,8 +2113,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 10;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -2119,6 +2150,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -2146,6 +2178,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000010;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -2169,8 +2202,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -2189,6 +2222,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000010;
return this;
}
@@ -2212,7 +2246,7 @@ public Builder putAllLabels(java.util.Map va
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -2253,11 +2287,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2274,11 +2308,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2294,17 +2328,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000020) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -2319,14 +2354,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2341,7 +2375,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000020;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -2413,7 +2447,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2454,11 +2488,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2475,11 +2509,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2495,17 +2529,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2520,14 +2555,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2542,7 +2576,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -2664,8 +2698,8 @@ public Builder setSchemaTitle(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
schemaTitle_ = value;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2684,8 +2718,8 @@ public Builder setSchemaTitle(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearSchemaTitle() {
-
schemaTitle_ = getDefaultInstance().getSchemaTitle();
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -2709,8 +2743,8 @@ public Builder setSchemaTitleBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
schemaTitle_ = value;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -2785,8 +2819,8 @@ public Builder setSchemaVersion(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
schemaVersion_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2805,8 +2839,8 @@ public Builder setSchemaVersion(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearSchemaVersion() {
-
schemaVersion_ = getDefaultInstance().getSchemaVersion();
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -2830,8 +2864,8 @@ public Builder setSchemaVersionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
schemaVersion_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2856,7 +2890,7 @@ public Builder setSchemaVersionBytes(com.google.protobuf.ByteString value) {
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return metadataBuilder_ != null || metadata_ != null;
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
*
@@ -2895,11 +2929,11 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
throw new NullPointerException();
}
metadata_ = value;
- onChanged();
} else {
metadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -2916,11 +2950,11 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
- onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -2936,17 +2970,18 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
*/
public Builder mergeMetadata(com.google.protobuf.Struct value) {
if (metadataBuilder_ == null) {
- if (metadata_ != null) {
- metadata_ =
- com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000200) != 0)
+ && metadata_ != null
+ && metadata_ != com.google.protobuf.Struct.getDefaultInstance()) {
+ getMetadataBuilder().mergeFrom(value);
} else {
metadata_ = value;
}
- onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -2961,14 +2996,13 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
* .google.protobuf.Struct metadata = 15;
*/
public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = null;
- onChanged();
- } else {
- metadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2983,7 +3017,7 @@ public Builder clearMetadata() {
* .google.protobuf.Struct metadata = 15;
*/
public com.google.protobuf.Struct.Builder getMetadataBuilder() {
-
+ bitField0_ |= 0x00000200;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
@@ -3094,8 +3128,8 @@ public Builder setDescription(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
description_ = value;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
@@ -3111,8 +3145,8 @@ public Builder setDescription(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDescription() {
-
description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
@@ -3133,8 +3167,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
description_ = value;
+ bitField0_ |= 0x00000400;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionOrBuilder.java
index e1a7ba167d2d..2c9c62ba47eb 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExecutionOrBuilder.java
@@ -195,7 +195,6 @@ public interface ExecutionOrBuilder
*
* map<string, string> labels = 10;
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainRequest.java
index ef088676cdfc..9e015c54b680 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainRequest.java
@@ -71,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int ENDPOINT_FIELD_NUMBER = 1;
- private volatile java.lang.Object endpoint_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object endpoint_ = "";
/**
*
*
@@ -128,6 +130,8 @@ public com.google.protobuf.ByteString getEndpointBytes() {
}
public static final int INSTANCES_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
private java.util.List instances_;
/**
*
@@ -295,7 +299,7 @@ public com.google.protobuf.Value getParameters() {
*/
@java.lang.Override
public com.google.protobuf.ValueOrBuilder getParametersOrBuilder() {
- return getParameters();
+ return parameters_ == null ? com.google.protobuf.Value.getDefaultInstance() : parameters_;
}
public static final int EXPLANATION_SPEC_OVERRIDE_FIELD_NUMBER = 5;
@@ -365,11 +369,15 @@ public com.google.cloud.aiplatform.v1.ExplanationSpecOverride getExplanationSpec
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationSpecOverrideOrBuilder
getExplanationSpecOverrideOrBuilder() {
- return getExplanationSpecOverride();
+ return explanationSpecOverride_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationSpecOverride.getDefaultInstance()
+ : explanationSpecOverride_;
}
public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER = 3;
- private volatile java.lang.Object deployedModelId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object deployedModelId_ = "";
/**
*
*
@@ -668,29 +676,26 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
endpoint_ = "";
-
if (instancesBuilder_ == null) {
instances_ = java.util.Collections.emptyList();
} else {
instances_ = null;
instancesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
- if (parametersBuilder_ == null) {
- parameters_ = null;
- } else {
- parameters_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ parameters_ = null;
+ if (parametersBuilder_ != null) {
+ parametersBuilder_.dispose();
parametersBuilder_ = null;
}
- if (explanationSpecOverrideBuilder_ == null) {
- explanationSpecOverride_ = null;
- } else {
- explanationSpecOverride_ = null;
+ explanationSpecOverride_ = null;
+ if (explanationSpecOverrideBuilder_ != null) {
+ explanationSpecOverrideBuilder_.dispose();
explanationSpecOverrideBuilder_ = null;
}
deployedModelId_ = "";
-
return this;
}
@@ -718,30 +723,43 @@ public com.google.cloud.aiplatform.v1.ExplainRequest build() {
public com.google.cloud.aiplatform.v1.ExplainRequest buildPartial() {
com.google.cloud.aiplatform.v1.ExplainRequest result =
new com.google.cloud.aiplatform.v1.ExplainRequest(this);
- int from_bitField0_ = bitField0_;
- result.endpoint_ = endpoint_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.ExplainRequest result) {
if (instancesBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
instances_ = java.util.Collections.unmodifiableList(instances_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.instances_ = instances_;
} else {
result.instances_ = instancesBuilder_.build();
}
- if (parametersBuilder_ == null) {
- result.parameters_ = parameters_;
- } else {
- result.parameters_ = parametersBuilder_.build();
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplainRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.endpoint_ = endpoint_;
}
- if (explanationSpecOverrideBuilder_ == null) {
- result.explanationSpecOverride_ = explanationSpecOverride_;
- } else {
- result.explanationSpecOverride_ = explanationSpecOverrideBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.parameters_ = parametersBuilder_ == null ? parameters_ : parametersBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.explanationSpecOverride_ =
+ explanationSpecOverrideBuilder_ == null
+ ? explanationSpecOverride_
+ : explanationSpecOverrideBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.deployedModelId_ = deployedModelId_;
}
- result.deployedModelId_ = deployedModelId_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -791,13 +809,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplainRequest other) {
if (other == com.google.cloud.aiplatform.v1.ExplainRequest.getDefaultInstance()) return this;
if (!other.getEndpoint().isEmpty()) {
endpoint_ = other.endpoint_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (instancesBuilder_ == null) {
if (!other.instances_.isEmpty()) {
if (instances_.isEmpty()) {
instances_ = other.instances_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureInstancesIsMutable();
instances_.addAll(other.instances_);
@@ -810,7 +829,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplainRequest other) {
instancesBuilder_.dispose();
instancesBuilder_ = null;
instances_ = other.instances_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
instancesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getInstancesFieldBuilder()
@@ -828,6 +847,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplainRequest other) {
}
if (!other.getDeployedModelId().isEmpty()) {
deployedModelId_ = other.deployedModelId_;
+ bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -859,7 +879,7 @@ public Builder mergeFrom(
case 10:
{
endpoint_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
@@ -877,20 +897,20 @@ public Builder mergeFrom(
case 26:
{
deployedModelId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000010;
break;
} // case 26
case 34:
{
input.readMessage(getParametersFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 34
case 42:
{
input.readMessage(
getExplanationSpecOverrideFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000008;
break;
} // case 42
default:
@@ -985,8 +1005,8 @@ public Builder setEndpoint(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
endpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1006,8 +1026,8 @@ public Builder setEndpoint(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEndpoint() {
-
endpoint_ = getDefaultInstance().getEndpoint();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1032,8 +1052,8 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
endpoint_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1042,9 +1062,9 @@ public Builder setEndpointBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureInstancesIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
instances_ = new java.util.ArrayList(instances_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000002;
}
}
@@ -1366,7 +1386,7 @@ public Builder addAllInstances(java.lang.Iterable extends com.google.protobuf.
public Builder clearInstances() {
if (instancesBuilder_ == null) {
instances_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
instancesBuilder_.clear();
@@ -1556,7 +1576,7 @@ public java.util.List getInstancesBuilderList
com.google.protobuf.Value,
com.google.protobuf.Value.Builder,
com.google.protobuf.ValueOrBuilder>(
- instances_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ instances_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
instances_ = null;
}
return instancesBuilder_;
@@ -1584,7 +1604,7 @@ public java.util.List getInstancesBuilderList
* @return Whether the parameters field is set.
*/
public boolean hasParameters() {
- return parametersBuilder_ != null || parameters_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1627,11 +1647,11 @@ public Builder setParameters(com.google.protobuf.Value value) {
throw new NullPointerException();
}
parameters_ = value;
- onChanged();
} else {
parametersBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1650,11 +1670,11 @@ public Builder setParameters(com.google.protobuf.Value value) {
public Builder setParameters(com.google.protobuf.Value.Builder builderForValue) {
if (parametersBuilder_ == null) {
parameters_ = builderForValue.build();
- onChanged();
} else {
parametersBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1672,17 +1692,18 @@ public Builder setParameters(com.google.protobuf.Value.Builder builderForValue)
*/
public Builder mergeParameters(com.google.protobuf.Value value) {
if (parametersBuilder_ == null) {
- if (parameters_ != null) {
- parameters_ =
- com.google.protobuf.Value.newBuilder(parameters_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && parameters_ != null
+ && parameters_ != com.google.protobuf.Value.getDefaultInstance()) {
+ getParametersBuilder().mergeFrom(value);
} else {
parameters_ = value;
}
- onChanged();
} else {
parametersBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1699,14 +1720,13 @@ public Builder mergeParameters(com.google.protobuf.Value value) {
* .google.protobuf.Value parameters = 4;
*/
public Builder clearParameters() {
- if (parametersBuilder_ == null) {
- parameters_ = null;
- onChanged();
- } else {
- parameters_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ parameters_ = null;
+ if (parametersBuilder_ != null) {
+ parametersBuilder_.dispose();
parametersBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1723,7 +1743,7 @@ public Builder clearParameters() {
* .google.protobuf.Value parameters = 4;
*/
public com.google.protobuf.Value.Builder getParametersBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getParametersFieldBuilder().getBuilder();
}
@@ -1803,7 +1823,7 @@ public com.google.protobuf.ValueOrBuilder getParametersOrBuilder() {
* @return Whether the explanationSpecOverride field is set.
*/
public boolean hasExplanationSpecOverride() {
- return explanationSpecOverrideBuilder_ != null || explanationSpecOverride_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -1857,11 +1877,11 @@ public Builder setExplanationSpecOverride(
throw new NullPointerException();
}
explanationSpecOverride_ = value;
- onChanged();
} else {
explanationSpecOverrideBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1885,11 +1905,11 @@ public Builder setExplanationSpecOverride(
com.google.cloud.aiplatform.v1.ExplanationSpecOverride.Builder builderForValue) {
if (explanationSpecOverrideBuilder_ == null) {
explanationSpecOverride_ = builderForValue.build();
- onChanged();
} else {
explanationSpecOverrideBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1912,20 +1932,19 @@ public Builder setExplanationSpecOverride(
public Builder mergeExplanationSpecOverride(
com.google.cloud.aiplatform.v1.ExplanationSpecOverride value) {
if (explanationSpecOverrideBuilder_ == null) {
- if (explanationSpecOverride_ != null) {
- explanationSpecOverride_ =
- com.google.cloud.aiplatform.v1.ExplanationSpecOverride.newBuilder(
- explanationSpecOverride_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000008) != 0)
+ && explanationSpecOverride_ != null
+ && explanationSpecOverride_
+ != com.google.cloud.aiplatform.v1.ExplanationSpecOverride.getDefaultInstance()) {
+ getExplanationSpecOverrideBuilder().mergeFrom(value);
} else {
explanationSpecOverride_ = value;
}
- onChanged();
} else {
explanationSpecOverrideBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -1946,14 +1965,13 @@ public Builder mergeExplanationSpecOverride(
*
*/
public Builder clearExplanationSpecOverride() {
- if (explanationSpecOverrideBuilder_ == null) {
- explanationSpecOverride_ = null;
- onChanged();
- } else {
- explanationSpecOverride_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ explanationSpecOverride_ = null;
+ if (explanationSpecOverrideBuilder_ != null) {
+ explanationSpecOverrideBuilder_.dispose();
explanationSpecOverrideBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1975,7 +1993,7 @@ public Builder clearExplanationSpecOverride() {
*/
public com.google.cloud.aiplatform.v1.ExplanationSpecOverride.Builder
getExplanationSpecOverrideBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getExplanationSpecOverrideFieldBuilder().getBuilder();
}
@@ -2107,8 +2125,8 @@ public Builder setDeployedModelId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
deployedModelId_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2126,8 +2144,8 @@ public Builder setDeployedModelId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDeployedModelId() {
-
deployedModelId_ = getDefaultInstance().getDeployedModelId();
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -2150,8 +2168,8 @@ public Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
deployedModelId_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainResponse.java
index ad7e8be4dd9e..b912bdf18fb8 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainResponse.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplainResponse.java
@@ -71,6 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int EXPLANATIONS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List explanations_;
/**
*
@@ -160,7 +162,9 @@ public com.google.cloud.aiplatform.v1.ExplanationOrBuilder getExplanationsOrBuil
}
public static final int DEPLOYED_MODEL_ID_FIELD_NUMBER = 2;
- private volatile java.lang.Object deployedModelId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object deployedModelId_ = "";
/**
*
*
@@ -209,6 +213,8 @@ public com.google.protobuf.ByteString getDeployedModelIdBytes() {
}
public static final int PREDICTIONS_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
private java.util.List predictions_;
/**
*
@@ -507,6 +513,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (explanationsBuilder_ == null) {
explanations_ = java.util.Collections.emptyList();
} else {
@@ -515,14 +522,13 @@ public Builder clear() {
}
bitField0_ = (bitField0_ & ~0x00000001);
deployedModelId_ = "";
-
if (predictionsBuilder_ == null) {
predictions_ = java.util.Collections.emptyList();
} else {
predictions_ = null;
predictionsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -550,7 +556,15 @@ public com.google.cloud.aiplatform.v1.ExplainResponse build() {
public com.google.cloud.aiplatform.v1.ExplainResponse buildPartial() {
com.google.cloud.aiplatform.v1.ExplainResponse result =
new com.google.cloud.aiplatform.v1.ExplainResponse(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.ExplainResponse result) {
if (explanationsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
explanations_ = java.util.Collections.unmodifiableList(explanations_);
@@ -560,18 +574,22 @@ public com.google.cloud.aiplatform.v1.ExplainResponse buildPartial() {
} else {
result.explanations_ = explanationsBuilder_.build();
}
- result.deployedModelId_ = deployedModelId_;
if (predictionsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
predictions_ = java.util.Collections.unmodifiableList(predictions_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.predictions_ = predictions_;
} else {
result.predictions_ = predictionsBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplainResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.deployedModelId_ = deployedModelId_;
+ }
}
@java.lang.Override
@@ -648,13 +666,14 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplainResponse other) {
}
if (!other.getDeployedModelId().isEmpty()) {
deployedModelId_ = other.deployedModelId_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (predictionsBuilder_ == null) {
if (!other.predictions_.isEmpty()) {
if (predictions_.isEmpty()) {
predictions_ = other.predictions_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePredictionsIsMutable();
predictions_.addAll(other.predictions_);
@@ -667,7 +686,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplainResponse other) {
predictionsBuilder_.dispose();
predictionsBuilder_ = null;
predictions_ = other.predictions_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
predictionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getPredictionsFieldBuilder()
@@ -719,7 +738,7 @@ public Builder mergeFrom(
case 18:
{
deployedModelId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
@@ -1237,8 +1256,8 @@ public Builder setDeployedModelId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
deployedModelId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1254,8 +1273,8 @@ public Builder setDeployedModelId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDeployedModelId() {
-
deployedModelId_ = getDefaultInstance().getDeployedModelId();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1276,8 +1295,8 @@ public Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
deployedModelId_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1286,9 +1305,9 @@ public Builder setDeployedModelIdBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensurePredictionsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
predictions_ = new java.util.ArrayList(predictions_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000004;
}
}
@@ -1523,7 +1542,7 @@ public Builder addAllPredictions(
public Builder clearPredictions() {
if (predictionsBuilder_ == null) {
predictions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
predictionsBuilder_.clear();
@@ -1658,7 +1677,7 @@ public java.util.List getPredictionsBuilderLi
com.google.protobuf.Value,
com.google.protobuf.Value.Builder,
com.google.protobuf.ValueOrBuilder>(
- predictions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ predictions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
predictions_ = null;
}
return predictionsBuilder_;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Explanation.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Explanation.java
index 520644b7bdb5..aeb8e271ab56 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Explanation.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Explanation.java
@@ -72,6 +72,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int ATTRIBUTIONS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List attributions_;
/**
*
@@ -231,6 +233,8 @@ public com.google.cloud.aiplatform.v1.AttributionOrBuilder getAttributionsOrBuil
}
public static final int NEIGHBORS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
private java.util.List neighbors_;
/**
*
@@ -532,6 +536,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (attributionsBuilder_ == null) {
attributions_ = java.util.Collections.emptyList();
} else {
@@ -573,7 +578,15 @@ public com.google.cloud.aiplatform.v1.Explanation build() {
public com.google.cloud.aiplatform.v1.Explanation buildPartial() {
com.google.cloud.aiplatform.v1.Explanation result =
new com.google.cloud.aiplatform.v1.Explanation(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.Explanation result) {
if (attributionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
attributions_ = java.util.Collections.unmodifiableList(attributions_);
@@ -592,8 +605,10 @@ public com.google.cloud.aiplatform.v1.Explanation buildPartial() {
} else {
result.neighbors_ = neighborsBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Explanation result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadata.java
index b991594c0c25..3bb280e90a2f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadata.java
@@ -1154,7 +1154,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int MIN_VALUE_FIELD_NUMBER = 1;
- private float minValue_;
+ private float minValue_ = 0F;
/**
*
*
@@ -1172,7 +1172,7 @@ public float getMinValue() {
}
public static final int MAX_VALUE_FIELD_NUMBER = 2;
- private float maxValue_;
+ private float maxValue_ = 0F;
/**
*
*
@@ -1190,7 +1190,7 @@ public float getMaxValue() {
}
public static final int ORIGINAL_MEAN_FIELD_NUMBER = 3;
- private float originalMean_;
+ private float originalMean_ = 0F;
/**
*
*
@@ -1210,7 +1210,7 @@ public float getOriginalMean() {
}
public static final int ORIGINAL_STDDEV_FIELD_NUMBER = 4;
- private float originalStddev_;
+ private float originalStddev_ = 0F;
/**
*
*
@@ -1496,14 +1496,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
minValue_ = 0F;
-
maxValue_ = 0F;
-
originalMean_ = 0F;
-
originalStddev_ = 0F;
-
return this;
}
@@ -1538,14 +1535,31 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
result =
new com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata
.FeatureValueDomain(this);
- result.minValue_ = minValue_;
- result.maxValue_ = maxValue_;
- result.originalMean_ = originalMean_;
- result.originalStddev_ = originalStddev_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
+ result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.minValue_ = minValue_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.maxValue_ = maxValue_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.originalMean_ = originalMean_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.originalStddev_ = originalStddev_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1643,25 +1657,25 @@ public Builder mergeFrom(
case 13:
{
minValue_ = input.readFloat();
-
+ bitField0_ |= 0x00000001;
break;
} // case 13
case 21:
{
maxValue_ = input.readFloat();
-
+ bitField0_ |= 0x00000002;
break;
} // case 21
case 29:
{
originalMean_ = input.readFloat();
-
+ bitField0_ |= 0x00000004;
break;
} // case 29
case 37:
{
originalStddev_ = input.readFloat();
-
+ bitField0_ |= 0x00000008;
break;
} // case 37
default:
@@ -1681,6 +1695,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private float minValue_;
/**
*
@@ -1712,6 +1728,7 @@ public float getMinValue() {
public Builder setMinValue(float value) {
minValue_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1727,7 +1744,7 @@ public Builder setMinValue(float value) {
* @return This builder for chaining.
*/
public Builder clearMinValue() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
minValue_ = 0F;
onChanged();
return this;
@@ -1764,6 +1781,7 @@ public float getMaxValue() {
public Builder setMaxValue(float value) {
maxValue_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1779,7 +1797,7 @@ public Builder setMaxValue(float value) {
* @return This builder for chaining.
*/
public Builder clearMaxValue() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
maxValue_ = 0F;
onChanged();
return this;
@@ -1820,6 +1838,7 @@ public float getOriginalMean() {
public Builder setOriginalMean(float value) {
originalMean_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1837,7 +1856,7 @@ public Builder setOriginalMean(float value) {
* @return This builder for chaining.
*/
public Builder clearOriginalMean() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
originalMean_ = 0F;
onChanged();
return this;
@@ -1878,6 +1897,7 @@ public float getOriginalStddev() {
public Builder setOriginalStddev(float value) {
originalStddev_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1895,7 +1915,7 @@ public Builder setOriginalStddev(float value) {
* @return This builder for chaining.
*/
public Builder clearOriginalStddev() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
originalStddev_ = 0F;
onChanged();
return this;
@@ -3036,7 +3056,7 @@ private OverlayType(int value) {
}
public static final int TYPE_FIELD_NUMBER = 1;
- private int type_;
+ private int type_ = 0;
/**
*
*
@@ -3078,10 +3098,9 @@ public int getTypeValue() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type
getType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type
- .valueOf(type_);
+ .forNumber(type_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type
.UNRECOGNIZED
@@ -3089,7 +3108,7 @@ public int getTypeValue() {
}
public static final int POLARITY_FIELD_NUMBER = 2;
- private int polarity_;
+ private int polarity_ = 0;
/**
*
*
@@ -3125,11 +3144,10 @@ public int getPolarityValue() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity
getPolarity() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .Polarity.valueOf(polarity_);
+ .Polarity.forNumber(polarity_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.Polarity.UNRECOGNIZED
@@ -3137,7 +3155,7 @@ public int getPolarityValue() {
}
public static final int COLOR_MAP_FIELD_NUMBER = 3;
- private int colorMap_;
+ private int colorMap_ = 0;
/**
*
*
@@ -3189,11 +3207,10 @@ public int getColorMapValue() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap
getColorMap() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .ColorMap.valueOf(colorMap_);
+ .ColorMap.forNumber(colorMap_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.ColorMap.UNRECOGNIZED
@@ -3201,7 +3218,7 @@ public int getColorMapValue() {
}
public static final int CLIP_PERCENT_UPPERBOUND_FIELD_NUMBER = 4;
- private float clipPercentUpperbound_;
+ private float clipPercentUpperbound_ = 0F;
/**
*
*
@@ -3223,7 +3240,7 @@ public float getClipPercentUpperbound() {
}
public static final int CLIP_PERCENT_LOWERBOUND_FIELD_NUMBER = 5;
- private float clipPercentLowerbound_;
+ private float clipPercentLowerbound_ = 0F;
/**
*
*
@@ -3242,7 +3259,7 @@ public float getClipPercentLowerbound() {
}
public static final int OVERLAY_TYPE_FIELD_NUMBER = 6;
- private int overlayType_;
+ private int overlayType_ = 0;
/**
*
*
@@ -3281,11 +3298,10 @@ public int getOverlayTypeValue() {
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.OverlayType
getOverlayType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .OverlayType.valueOf(overlayType_);
+ .OverlayType.forNumber(overlayType_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.OverlayType.UNRECOGNIZED
@@ -3578,18 +3594,13 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
type_ = 0;
-
polarity_ = 0;
-
colorMap_ = 0;
-
clipPercentUpperbound_ = 0F;
-
clipPercentLowerbound_ = 0F;
-
overlayType_ = 0;
-
return this;
}
@@ -3623,16 +3634,36 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization result =
new com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization(
this);
- result.type_ = type_;
- result.polarity_ = polarity_;
- result.colorMap_ = colorMap_;
- result.clipPercentUpperbound_ = clipPercentUpperbound_;
- result.clipPercentLowerbound_ = clipPercentLowerbound_;
- result.overlayType_ = overlayType_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.type_ = type_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.polarity_ = polarity_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.colorMap_ = colorMap_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.clipPercentUpperbound_ = clipPercentUpperbound_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.clipPercentLowerbound_ = clipPercentLowerbound_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.overlayType_ = overlayType_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -3734,37 +3765,37 @@ public Builder mergeFrom(
case 8:
{
type_ = input.readEnum();
-
+ bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
polarity_ = input.readEnum();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
case 24:
{
colorMap_ = input.readEnum();
-
+ bitField0_ |= 0x00000004;
break;
} // case 24
case 37:
{
clipPercentUpperbound_ = input.readFloat();
-
+ bitField0_ |= 0x00000008;
break;
} // case 37
case 45:
{
clipPercentLowerbound_ = input.readFloat();
-
+ bitField0_ |= 0x00000010;
break;
} // case 45
case 48:
{
overlayType_ = input.readEnum();
-
+ bitField0_ |= 0x00000020;
break;
} // case 48
default:
@@ -3784,6 +3815,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private int type_ = 0;
/**
*
@@ -3825,8 +3858,8 @@ public int getTypeValue() {
* @return This builder for chaining.
*/
public Builder setTypeValue(int value) {
-
type_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -3850,11 +3883,10 @@ public Builder setTypeValue(int value) {
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type
getType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .Type.valueOf(type_);
+ .Type.forNumber(type_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type
.UNRECOGNIZED
@@ -3884,7 +3916,7 @@ public Builder setType(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000001;
type_ = value.getNumber();
onChanged();
return this;
@@ -3907,7 +3939,7 @@ public Builder setType(
* @return This builder for chaining.
*/
public Builder clearType() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
type_ = 0;
onChanged();
return this;
@@ -3948,8 +3980,8 @@ public int getPolarityValue() {
* @return This builder for chaining.
*/
public Builder setPolarityValue(int value) {
-
polarity_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -3971,11 +4003,10 @@ public Builder setPolarityValue(int value) {
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.Polarity
getPolarity() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .Polarity.valueOf(polarity_);
+ .Polarity.forNumber(polarity_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.Polarity.UNRECOGNIZED
@@ -4002,7 +4033,7 @@ public Builder setPolarity(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000002;
polarity_ = value.getNumber();
onChanged();
return this;
@@ -4022,7 +4053,7 @@ public Builder setPolarity(
* @return This builder for chaining.
*/
public Builder clearPolarity() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
polarity_ = 0;
onChanged();
return this;
@@ -4079,8 +4110,8 @@ public int getColorMapValue() {
* @return This builder for chaining.
*/
public Builder setColorMapValue(int value) {
-
colorMap_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -4110,11 +4141,10 @@ public Builder setColorMapValue(int value) {
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.ColorMap
getColorMap() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .ColorMap.valueOf(colorMap_);
+ .ColorMap.forNumber(colorMap_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.ColorMap.UNRECOGNIZED
@@ -4149,7 +4179,7 @@ public Builder setColorMap(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000004;
colorMap_ = value.getNumber();
onChanged();
return this;
@@ -4177,7 +4207,7 @@ public Builder setColorMap(
* @return This builder for chaining.
*/
public Builder clearColorMap() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
colorMap_ = 0;
onChanged();
return this;
@@ -4222,6 +4252,7 @@ public float getClipPercentUpperbound() {
public Builder setClipPercentUpperbound(float value) {
clipPercentUpperbound_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -4241,7 +4272,7 @@ public Builder setClipPercentUpperbound(float value) {
* @return This builder for chaining.
*/
public Builder clearClipPercentUpperbound() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
clipPercentUpperbound_ = 0F;
onChanged();
return this;
@@ -4280,6 +4311,7 @@ public float getClipPercentLowerbound() {
public Builder setClipPercentLowerbound(float value) {
clipPercentLowerbound_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -4296,7 +4328,7 @@ public Builder setClipPercentLowerbound(float value) {
* @return This builder for chaining.
*/
public Builder clearClipPercentLowerbound() {
-
+ bitField0_ = (bitField0_ & ~0x00000010);
clipPercentLowerbound_ = 0F;
onChanged();
return this;
@@ -4339,8 +4371,8 @@ public int getOverlayTypeValue() {
* @return This builder for chaining.
*/
public Builder setOverlayTypeValue(int value) {
-
overlayType_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -4363,11 +4395,10 @@ public Builder setOverlayTypeValue(int value) {
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.OverlayType
getOverlayType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType
result =
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .OverlayType.valueOf(overlayType_);
+ .OverlayType.forNumber(overlayType_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
.OverlayType.UNRECOGNIZED
@@ -4396,7 +4427,7 @@ public Builder setOverlayType(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000020;
overlayType_ = value.getNumber();
onChanged();
return this;
@@ -4417,7 +4448,7 @@ public Builder setOverlayType(
* @return This builder for chaining.
*/
public Builder clearOverlayType() {
-
+ bitField0_ = (bitField0_ & ~0x00000020);
overlayType_ = 0;
onChanged();
return this;
@@ -4493,6 +4524,8 @@ public com.google.protobuf.Parser getParserForType() {
}
public static final int INPUT_BASELINES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List inputBaselines_;
/**
*
@@ -4632,7 +4665,9 @@ public com.google.protobuf.ValueOrBuilder getInputBaselinesOrBuilder(int index)
}
public static final int INPUT_TENSOR_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object inputTensorName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object inputTensorName_ = "";
/**
*
*
@@ -4683,7 +4718,7 @@ public com.google.protobuf.ByteString getInputTensorNameBytes() {
}
public static final int ENCODING_FIELD_NUMBER = 3;
- private int encoding_;
+ private int encoding_ = 0;
/**
*
*
@@ -4716,9 +4751,8 @@ public int getEncodingValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding getEncoding() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding result =
- com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding.valueOf(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding.forNumber(
encoding_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding.UNRECOGNIZED
@@ -4726,7 +4760,9 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding
}
public static final int MODALITY_FIELD_NUMBER = 4;
- private volatile java.lang.Object modality_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object modality_ = "";
/**
*
*
@@ -4835,11 +4871,16 @@ public boolean hasFeatureValueDomain() {
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata
.FeatureValueDomainOrBuilder
getFeatureValueDomainOrBuilder() {
- return getFeatureValueDomain();
+ return featureValueDomain_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
+ .getDefaultInstance()
+ : featureValueDomain_;
}
public static final int INDICES_TENSOR_NAME_FIELD_NUMBER = 6;
- private volatile java.lang.Object indicesTensorName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object indicesTensorName_ = "";
/**
*
*
@@ -4894,7 +4935,9 @@ public com.google.protobuf.ByteString getIndicesTensorNameBytes() {
}
public static final int DENSE_SHAPE_TENSOR_NAME_FIELD_NUMBER = 7;
- private volatile java.lang.Object denseShapeTensorName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object denseShapeTensorName_ = "";
/**
*
*
@@ -4947,6 +4990,8 @@ public com.google.protobuf.ByteString getDenseShapeTensorNameBytes() {
}
public static final int INDEX_FEATURE_MAPPING_FIELD_NUMBER = 8;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList indexFeatureMapping_;
/**
*
@@ -5020,7 +5065,9 @@ public com.google.protobuf.ByteString getIndexFeatureMappingBytes(int index) {
}
public static final int ENCODED_TENSOR_NAME_FIELD_NUMBER = 9;
- private volatile java.lang.Object encodedTensorName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object encodedTensorName_ = "";
/**
*
*
@@ -5085,6 +5132,8 @@ public com.google.protobuf.ByteString getEncodedTensorNameBytes() {
}
public static final int ENCODED_BASELINES_FIELD_NUMBER = 10;
+
+ @SuppressWarnings("serial")
private java.util.List encodedBaselines_;
/**
*
@@ -5223,11 +5272,16 @@ public boolean hasVisualization() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.VisualizationOrBuilder
getVisualizationOrBuilder() {
- return getVisualization();
+ return visualization_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
+ .getDefaultInstance()
+ : visualization_;
}
public static final int GROUP_NAME_FIELD_NUMBER = 12;
- private volatile java.lang.Object groupName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object groupName_ = "";
/**
*
*
@@ -5620,6 +5674,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (inputBaselinesBuilder_ == null) {
inputBaselines_ = java.util.Collections.emptyList();
} else {
@@ -5628,40 +5683,31 @@ public Builder clear() {
}
bitField0_ = (bitField0_ & ~0x00000001);
inputTensorName_ = "";
-
encoding_ = 0;
-
modality_ = "";
-
- if (featureValueDomainBuilder_ == null) {
- featureValueDomain_ = null;
- } else {
- featureValueDomain_ = null;
+ featureValueDomain_ = null;
+ if (featureValueDomainBuilder_ != null) {
+ featureValueDomainBuilder_.dispose();
featureValueDomainBuilder_ = null;
}
indicesTensorName_ = "";
-
denseShapeTensorName_ = "";
-
indexFeatureMapping_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000080);
encodedTensorName_ = "";
-
if (encodedBaselinesBuilder_ == null) {
encodedBaselines_ = java.util.Collections.emptyList();
} else {
encodedBaselines_ = null;
encodedBaselinesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000004);
- if (visualizationBuilder_ == null) {
- visualization_ = null;
- } else {
- visualization_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ visualization_ = null;
+ if (visualizationBuilder_ != null) {
+ visualizationBuilder_.dispose();
visualizationBuilder_ = null;
}
groupName_ = "";
-
return this;
}
@@ -5691,7 +5737,16 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata build()
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata result =
new com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata result) {
if (inputBaselinesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
inputBaselines_ = java.util.Collections.unmodifiableList(inputBaselines_);
@@ -5701,39 +5756,56 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata buildPar
} else {
result.inputBaselines_ = inputBaselinesBuilder_.build();
}
- result.inputTensorName_ = inputTensorName_;
- result.encoding_ = encoding_;
- result.modality_ = modality_;
- if (featureValueDomainBuilder_ == null) {
- result.featureValueDomain_ = featureValueDomain_;
- } else {
- result.featureValueDomain_ = featureValueDomainBuilder_.build();
- }
- result.indicesTensorName_ = indicesTensorName_;
- result.denseShapeTensorName_ = denseShapeTensorName_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
indexFeatureMapping_ = indexFeatureMapping_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000080);
}
result.indexFeatureMapping_ = indexFeatureMapping_;
- result.encodedTensorName_ = encodedTensorName_;
if (encodedBaselinesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000200) != 0)) {
encodedBaselines_ = java.util.Collections.unmodifiableList(encodedBaselines_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000200);
}
result.encodedBaselines_ = encodedBaselines_;
} else {
result.encodedBaselines_ = encodedBaselinesBuilder_.build();
}
- if (visualizationBuilder_ == null) {
- result.visualization_ = visualization_;
- } else {
- result.visualization_ = visualizationBuilder_.build();
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.inputTensorName_ = inputTensorName_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.encoding_ = encoding_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.modality_ = modality_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.featureValueDomain_ =
+ featureValueDomainBuilder_ == null
+ ? featureValueDomain_
+ : featureValueDomainBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.indicesTensorName_ = indicesTensorName_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.denseShapeTensorName_ = denseShapeTensorName_;
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.encodedTensorName_ = encodedTensorName_;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.visualization_ =
+ visualizationBuilder_ == null ? visualization_ : visualizationBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.groupName_ = groupName_;
}
- result.groupName_ = groupName_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -5816,6 +5888,7 @@ public Builder mergeFrom(
}
if (!other.getInputTensorName().isEmpty()) {
inputTensorName_ = other.inputTensorName_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.encoding_ != 0) {
@@ -5823,6 +5896,7 @@ public Builder mergeFrom(
}
if (!other.getModality().isEmpty()) {
modality_ = other.modality_;
+ bitField0_ |= 0x00000008;
onChanged();
}
if (other.hasFeatureValueDomain()) {
@@ -5830,16 +5904,18 @@ public Builder mergeFrom(
}
if (!other.getIndicesTensorName().isEmpty()) {
indicesTensorName_ = other.indicesTensorName_;
+ bitField0_ |= 0x00000020;
onChanged();
}
if (!other.getDenseShapeTensorName().isEmpty()) {
denseShapeTensorName_ = other.denseShapeTensorName_;
+ bitField0_ |= 0x00000040;
onChanged();
}
if (!other.indexFeatureMapping_.isEmpty()) {
if (indexFeatureMapping_.isEmpty()) {
indexFeatureMapping_ = other.indexFeatureMapping_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureIndexFeatureMappingIsMutable();
indexFeatureMapping_.addAll(other.indexFeatureMapping_);
@@ -5848,13 +5924,14 @@ public Builder mergeFrom(
}
if (!other.getEncodedTensorName().isEmpty()) {
encodedTensorName_ = other.encodedTensorName_;
+ bitField0_ |= 0x00000100;
onChanged();
}
if (encodedBaselinesBuilder_ == null) {
if (!other.encodedBaselines_.isEmpty()) {
if (encodedBaselines_.isEmpty()) {
encodedBaselines_ = other.encodedBaselines_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureEncodedBaselinesIsMutable();
encodedBaselines_.addAll(other.encodedBaselines_);
@@ -5867,7 +5944,7 @@ public Builder mergeFrom(
encodedBaselinesBuilder_.dispose();
encodedBaselinesBuilder_ = null;
encodedBaselines_ = other.encodedBaselines_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000200);
encodedBaselinesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getEncodedBaselinesFieldBuilder()
@@ -5882,6 +5959,7 @@ public Builder mergeFrom(
}
if (!other.getGroupName().isEmpty()) {
groupName_ = other.groupName_;
+ bitField0_ |= 0x00000800;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -5925,38 +6003,38 @@ public Builder mergeFrom(
case 18:
{
inputTensorName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 24:
{
encoding_ = input.readEnum();
-
+ bitField0_ |= 0x00000004;
break;
} // case 24
case 34:
{
modality_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
case 42:
{
input.readMessage(
getFeatureValueDomainFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 42
case 50:
{
indicesTensorName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000020;
break;
} // case 50
case 58:
{
denseShapeTensorName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000040;
break;
} // case 58
case 66:
@@ -5969,7 +6047,7 @@ public Builder mergeFrom(
case 74:
{
encodedTensorName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000100;
break;
} // case 74
case 82:
@@ -5987,13 +6065,13 @@ public Builder mergeFrom(
case 90:
{
input.readMessage(getVisualizationFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000400;
break;
} // case 90
case 98:
{
groupName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000800;
break;
} // case 98
default:
@@ -6682,8 +6760,8 @@ public Builder setInputTensorName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
inputTensorName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -6700,8 +6778,8 @@ public Builder setInputTensorName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearInputTensorName() {
-
inputTensorName_ = getDefaultInstance().getInputTensorName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -6723,8 +6801,8 @@ public Builder setInputTensorNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
inputTensorName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -6762,8 +6840,8 @@ public int getEncodingValue() {
* @return This builder for chaining.
*/
public Builder setEncodingValue(int value) {
-
encoding_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -6783,9 +6861,8 @@ public Builder setEncodingValue(int value) {
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding
getEncoding() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding result =
- com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding.valueOf(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding.forNumber(
encoding_);
return result == null
? com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding.UNRECOGNIZED
@@ -6810,7 +6887,7 @@ public Builder setEncoding(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000004;
encoding_ = value.getNumber();
onChanged();
return this;
@@ -6829,7 +6906,7 @@ public Builder setEncoding(
* @return This builder for chaining.
*/
public Builder clearEncoding() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
encoding_ = 0;
onChanged();
return this;
@@ -6899,8 +6976,8 @@ public Builder setModality(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
modality_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -6917,8 +6994,8 @@ public Builder setModality(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearModality() {
-
modality_ = getDefaultInstance().getModality();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -6940,8 +7017,8 @@ public Builder setModalityBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
modality_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -6970,7 +7047,7 @@ public Builder setModalityBytes(com.google.protobuf.ByteString value) {
* @return Whether the featureValueDomain field is set.
*/
public boolean hasFeatureValueDomain() {
- return featureValueDomainBuilder_ != null || featureValueDomain_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -7017,11 +7094,11 @@ public Builder setFeatureValueDomain(
throw new NullPointerException();
}
featureValueDomain_ = value;
- onChanged();
} else {
featureValueDomainBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -7042,11 +7119,11 @@ public Builder setFeatureValueDomain(
builderForValue) {
if (featureValueDomainBuilder_ == null) {
featureValueDomain_ = builderForValue.build();
- onChanged();
} else {
featureValueDomainBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -7065,20 +7142,20 @@ public Builder mergeFeatureValueDomain(
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
value) {
if (featureValueDomainBuilder_ == null) {
- if (featureValueDomain_ != null) {
- featureValueDomain_ =
- com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
- .newBuilder(featureValueDomain_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && featureValueDomain_ != null
+ && featureValueDomain_
+ != com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata
+ .FeatureValueDomain.getDefaultInstance()) {
+ getFeatureValueDomainBuilder().mergeFrom(value);
} else {
featureValueDomain_ = value;
}
- onChanged();
} else {
featureValueDomainBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -7094,14 +7171,13 @@ public Builder mergeFeatureValueDomain(
*
*/
public Builder clearFeatureValueDomain() {
- if (featureValueDomainBuilder_ == null) {
- featureValueDomain_ = null;
- onChanged();
- } else {
- featureValueDomain_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ featureValueDomain_ = null;
+ if (featureValueDomainBuilder_ != null) {
+ featureValueDomainBuilder_.dispose();
featureValueDomainBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -7119,7 +7195,7 @@ public Builder clearFeatureValueDomain() {
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain
.Builder
getFeatureValueDomainBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getFeatureValueDomainFieldBuilder().getBuilder();
}
@@ -7251,8 +7327,8 @@ public Builder setIndicesTensorName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
indicesTensorName_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -7271,8 +7347,8 @@ public Builder setIndicesTensorName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearIndicesTensorName() {
-
indicesTensorName_ = getDefaultInstance().getIndicesTensorName();
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
return this;
}
@@ -7296,8 +7372,8 @@ public Builder setIndicesTensorNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
indicesTensorName_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -7369,8 +7445,8 @@ public Builder setDenseShapeTensorName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
denseShapeTensorName_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -7388,8 +7464,8 @@ public Builder setDenseShapeTensorName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDenseShapeTensorName() {
-
denseShapeTensorName_ = getDefaultInstance().getDenseShapeTensorName();
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@@ -7412,8 +7488,8 @@ public Builder setDenseShapeTensorNameBytes(com.google.protobuf.ByteString value
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
denseShapeTensorName_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -7422,9 +7498,9 @@ public Builder setDenseShapeTensorNameBytes(com.google.protobuf.ByteString value
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureIndexFeatureMappingIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000080) != 0)) {
indexFeatureMapping_ = new com.google.protobuf.LazyStringArrayList(indexFeatureMapping_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000080;
}
}
/**
@@ -7583,7 +7659,7 @@ public Builder addAllIndexFeatureMapping(java.lang.Iterable va
*/
public Builder clearIndexFeatureMapping() {
indexFeatureMapping_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
@@ -7698,8 +7774,8 @@ public Builder setEncodedTensorName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
encodedTensorName_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -7723,8 +7799,8 @@ public Builder setEncodedTensorName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEncodedTensorName() {
-
encodedTensorName_ = getDefaultInstance().getEncodedTensorName();
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
@@ -7753,8 +7829,8 @@ public Builder setEncodedTensorNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
encodedTensorName_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -7763,9 +7839,9 @@ public Builder setEncodedTensorNameBytes(com.google.protobuf.ByteString value) {
java.util.Collections.emptyList();
private void ensureEncodedBaselinesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000200) != 0)) {
encodedBaselines_ = new java.util.ArrayList(encodedBaselines_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000200;
}
}
@@ -8013,7 +8089,7 @@ public Builder addAllEncodedBaselines(
public Builder clearEncodedBaselines() {
if (encodedBaselinesBuilder_ == null) {
encodedBaselines_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
encodedBaselinesBuilder_.clear();
@@ -8156,7 +8232,7 @@ public java.util.List getEncodedBaselinesBuil
com.google.protobuf.Value.Builder,
com.google.protobuf.ValueOrBuilder>(
encodedBaselines_,
- ((bitField0_ & 0x00000004) != 0),
+ ((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
encodedBaselines_ = null;
@@ -8187,7 +8263,7 @@ public java.util.List getEncodedBaselinesBuil
* @return Whether the visualization field is set.
*/
public boolean hasVisualization() {
- return visualizationBuilder_ != null || visualization_ != null;
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
*
@@ -8231,11 +8307,11 @@ public Builder setVisualization(
throw new NullPointerException();
}
visualization_ = value;
- onChanged();
} else {
visualizationBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -8254,11 +8330,11 @@ public Builder setVisualization(
builderForValue) {
if (visualizationBuilder_ == null) {
visualization_ = builderForValue.build();
- onChanged();
} else {
visualizationBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -8275,20 +8351,20 @@ public Builder setVisualization(
public Builder mergeVisualization(
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization value) {
if (visualizationBuilder_ == null) {
- if (visualization_ != null) {
- visualization_ =
- com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
- .newBuilder(visualization_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000400) != 0)
+ && visualization_ != null
+ && visualization_
+ != com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization
+ .getDefaultInstance()) {
+ getVisualizationBuilder().mergeFrom(value);
} else {
visualization_ = value;
}
- onChanged();
} else {
visualizationBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -8303,14 +8379,13 @@ public Builder mergeVisualization(
*
*/
public Builder clearVisualization() {
- if (visualizationBuilder_ == null) {
- visualization_ = null;
- onChanged();
- } else {
- visualization_ = null;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ visualization_ = null;
+ if (visualizationBuilder_ != null) {
+ visualizationBuilder_.dispose();
visualizationBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -8326,7 +8401,7 @@ public Builder clearVisualization() {
*/
public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Builder
getVisualizationBuilder() {
-
+ bitField0_ |= 0x00000400;
onChanged();
return getVisualizationFieldBuilder().getBuilder();
}
@@ -8460,8 +8535,8 @@ public Builder setGroupName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
groupName_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -8482,8 +8557,8 @@ public Builder setGroupName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearGroupName() {
-
groupName_ = getDefaultInstance().getGroupName();
+ bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
@@ -8509,8 +8584,8 @@ public Builder setGroupNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
groupName_ = value;
+ bitField0_ |= 0x00000800;
onChanged();
return this;
}
@@ -9003,7 +9078,9 @@ public com.google.protobuf.ByteString getDisplayNameMappingKeyBytes() {
}
public static final int OUTPUT_TENSOR_NAME_FIELD_NUMBER = 3;
- private volatile java.lang.Object outputTensorName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object outputTensorName_ = "";
/**
*
*
@@ -9293,11 +9370,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (indexDisplayNameMappingBuilder_ != null) {
indexDisplayNameMappingBuilder_.clear();
}
outputTensorName_ = "";
-
displayNameMappingCase_ = 0;
displayNameMapping_ = null;
return this;
@@ -9329,22 +9406,31 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata build()
public com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata result =
new com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata(this);
- if (displayNameMappingCase_ == 1) {
- if (indexDisplayNameMappingBuilder_ == null) {
- result.displayNameMapping_ = displayNameMapping_;
- } else {
- result.displayNameMapping_ = indexDisplayNameMappingBuilder_.build();
- }
- }
- if (displayNameMappingCase_ == 2) {
- result.displayNameMapping_ = displayNameMapping_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.outputTensorName_ = outputTensorName_;
- result.displayNameMappingCase_ = displayNameMappingCase_;
+ buildPartialOneofs(result);
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.outputTensorName_ = outputTensorName_;
+ }
+ }
+
+ private void buildPartialOneofs(
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata result) {
+ result.displayNameMappingCase_ = displayNameMappingCase_;
+ result.displayNameMapping_ = this.displayNameMapping_;
+ if (displayNameMappingCase_ == 1 && indexDisplayNameMappingBuilder_ != null) {
+ result.displayNameMapping_ = indexDisplayNameMappingBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -9398,6 +9484,7 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getOutputTensorName().isEmpty()) {
outputTensorName_ = other.outputTensorName_;
+ bitField0_ |= 0x00000004;
onChanged();
}
switch (other.getDisplayNameMappingCase()) {
@@ -9461,7 +9548,7 @@ public Builder mergeFrom(
case 26:
{
outputTensorName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
default:
@@ -9495,6 +9582,8 @@ public Builder clearDisplayNameMapping() {
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Value,
com.google.protobuf.Value.Builder,
@@ -9799,7 +9888,6 @@ public com.google.protobuf.ValueOrBuilder getIndexDisplayNameMappingOrBuilder()
}
displayNameMappingCase_ = 1;
onChanged();
- ;
return indexDisplayNameMappingBuilder_;
}
@@ -10031,8 +10119,8 @@ public Builder setOutputTensorName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
outputTensorName_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -10049,8 +10137,8 @@ public Builder setOutputTensorName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearOutputTensorName() {
-
outputTensorName_ = getDefaultInstance().getOutputTensorName();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -10072,8 +10160,8 @@ public Builder setOutputTensorNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
outputTensorName_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -10164,6 +10252,7 @@ private static final class InputsDefaultEntryHolder {
.getDefaultInstance());
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata>
inputs_;
@@ -10268,9 +10357,11 @@ public boolean containsInputs(java.lang.String key) {
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata getInputsOrDefault(
- java.lang.String key,
- com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata defaultValue) {
+ public /* nullable */ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata
+ getInputsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -10335,6 +10426,7 @@ private static final class OutputsDefaultEntryHolder {
.getDefaultInstance());
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata>
outputs_;
@@ -10421,9 +10513,11 @@ public boolean containsOutputs(java.lang.String key) {
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata getOutputsOrDefault(
- java.lang.String key,
- com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata defaultValue) {
+ public /* nullable */ com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata
+ getOutputsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -10464,7 +10558,9 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata getOutp
}
public static final int FEATURE_ATTRIBUTIONS_SCHEMA_URI_FIELD_NUMBER = 3;
- private volatile java.lang.Object featureAttributionsSchemaUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object featureAttributionsSchemaUri_ = "";
/**
*
*
@@ -10529,7 +10625,9 @@ public com.google.protobuf.ByteString getFeatureAttributionsSchemaUriBytes() {
}
public static final int LATENT_SPACE_SOURCE_FIELD_NUMBER = 5;
- private volatile java.lang.Object latentSpaceSource_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object latentSpaceSource_ = "";
/**
*
*
@@ -10850,12 +10948,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
internalGetMutableInputs().clear();
internalGetMutableOutputs().clear();
featureAttributionsSchemaUri_ = "";
-
latentSpaceSource_ = "";
-
return this;
}
@@ -10883,17 +10980,31 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata build() {
public com.google.cloud.aiplatform.v1.ExplanationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationMetadata result =
new com.google.cloud.aiplatform.v1.ExplanationMetadata(this);
- int from_bitField0_ = bitField0_;
- result.inputs_ = internalGetInputs();
- result.inputs_.makeImmutable();
- result.outputs_ = internalGetOutputs();
- result.outputs_.makeImmutable();
- result.featureAttributionsSchemaUri_ = featureAttributionsSchemaUri_;
- result.latentSpaceSource_ = latentSpaceSource_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplanationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.inputs_ = internalGetInputs();
+ result.inputs_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.outputs_ = internalGetOutputs();
+ result.outputs_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.featureAttributionsSchemaUri_ = featureAttributionsSchemaUri_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.latentSpaceSource_ = latentSpaceSource_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -10941,13 +11052,17 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplanationMetadata othe
if (other == com.google.cloud.aiplatform.v1.ExplanationMetadata.getDefaultInstance())
return this;
internalGetMutableInputs().mergeFrom(other.internalGetInputs());
+ bitField0_ |= 0x00000001;
internalGetMutableOutputs().mergeFrom(other.internalGetOutputs());
+ bitField0_ |= 0x00000002;
if (!other.getFeatureAttributionsSchemaUri().isEmpty()) {
featureAttributionsSchemaUri_ = other.featureAttributionsSchemaUri_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (!other.getLatentSpaceSource().isEmpty()) {
latentSpaceSource_ = other.latentSpaceSource_;
+ bitField0_ |= 0x00000008;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -10988,6 +11103,7 @@ public Builder mergeFrom(
internalGetMutableInputs()
.getMutableMap()
.put(inputs__.getKey(), inputs__.getValue());
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
@@ -11002,18 +11118,19 @@ public Builder mergeFrom(
internalGetMutableOutputs()
.getMutableMap()
.put(outputs__.getKey(), outputs__.getValue());
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
featureAttributionsSchemaUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 42:
{
latentSpaceSource_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 42
default:
@@ -11051,14 +11168,14 @@ public Builder mergeFrom(
private com.google.protobuf.MapField<
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata>
internalGetMutableInputs() {
- onChanged();
- ;
if (inputs_ == null) {
inputs_ = com.google.protobuf.MapField.newMapField(InputsDefaultEntryHolder.defaultEntry);
}
if (!inputs_.isMutable()) {
inputs_ = inputs_.copy();
}
+ bitField0_ |= 0x00000001;
+ onChanged();
return inputs_;
}
@@ -11153,9 +11270,11 @@ public boolean containsInputs(java.lang.String key) {
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata getInputsOrDefault(
- java.lang.String key,
- com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata defaultValue) {
+ public /* nullable */ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata
+ getInputsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -11202,6 +11321,7 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata getInput
}
public Builder clearInputs() {
+ bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableInputs().getMutableMap().clear();
return this;
}
@@ -11239,6 +11359,7 @@ public Builder removeInputs(java.lang.String key) {
public java.util.Map<
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata>
getMutableInputs() {
+ bitField0_ |= 0x00000001;
return internalGetMutableInputs().getMutableMap();
}
/**
@@ -11272,8 +11393,8 @@ public Builder putInputs(
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableInputs().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000001;
return this;
}
/**
@@ -11303,6 +11424,7 @@ public Builder putAllInputs(
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata>
values) {
internalGetMutableInputs().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000001;
return this;
}
@@ -11322,14 +11444,14 @@ public Builder putAllInputs(
private com.google.protobuf.MapField<
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata>
internalGetMutableOutputs() {
- onChanged();
- ;
if (outputs_ == null) {
outputs_ = com.google.protobuf.MapField.newMapField(OutputsDefaultEntryHolder.defaultEntry);
}
if (!outputs_.isMutable()) {
outputs_ = outputs_.copy();
}
+ bitField0_ |= 0x00000002;
+ onChanged();
return outputs_;
}
@@ -11406,9 +11528,11 @@ public boolean containsOutputs(java.lang.String key) {
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata getOutputsOrDefault(
- java.lang.String key,
- com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata defaultValue) {
+ public /* nullable */ com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata
+ getOutputsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -11449,6 +11573,7 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata getOutp
}
public Builder clearOutputs() {
+ bitField0_ = (bitField0_ & ~0x00000002);
internalGetMutableOutputs().getMutableMap().clear();
return this;
}
@@ -11480,6 +11605,7 @@ public Builder removeOutputs(java.lang.String key) {
public java.util.Map<
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata>
getMutableOutputs() {
+ bitField0_ |= 0x00000002;
return internalGetMutableOutputs().getMutableMap();
}
/**
@@ -11507,8 +11633,8 @@ public Builder putOutputs(
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableOutputs().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000002;
return this;
}
/**
@@ -11532,6 +11658,7 @@ public Builder putAllOutputs(
java.lang.String, com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata>
values) {
internalGetMutableOutputs().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000002;
return this;
}
@@ -11620,8 +11747,8 @@ public Builder setFeatureAttributionsSchemaUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
featureAttributionsSchemaUri_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -11645,8 +11772,8 @@ public Builder setFeatureAttributionsSchemaUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearFeatureAttributionsSchemaUri() {
-
featureAttributionsSchemaUri_ = getDefaultInstance().getFeatureAttributionsSchemaUri();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -11675,8 +11802,8 @@ public Builder setFeatureAttributionsSchemaUriBytes(com.google.protobuf.ByteStri
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
featureAttributionsSchemaUri_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -11742,8 +11869,8 @@ public Builder setLatentSpaceSource(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
latentSpaceSource_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -11759,8 +11886,8 @@ public Builder setLatentSpaceSource(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearLatentSpaceSource() {
-
latentSpaceSource_ = getDefaultInstance().getLatentSpaceSource();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -11781,8 +11908,8 @@ public Builder setLatentSpaceSourceBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
latentSpaceSource_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOrBuilder.java
index e707a16d50dd..4d8aa59ba4bb 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOrBuilder.java
@@ -119,7 +119,6 @@ public interface ExplanationMetadataOrBuilder
* map<string, .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
-
/* nullable */
com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata getInputsOrDefault(
java.lang.String key,
@@ -222,7 +221,6 @@ com.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata getInputsOrThro
* map<string, .google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata> outputs = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
-
/* nullable */
com.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata getOutputsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverride.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverride.java
index e0f6d4028ada..ff0ad17dec27 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverride.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverride.java
@@ -209,6 +209,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int INPUT_BASELINES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List inputBaselines_;
/**
*
@@ -514,6 +516,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (inputBaselinesBuilder_ == null) {
inputBaselines_ = java.util.Collections.emptyList();
} else {
@@ -554,7 +557,16 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride result =
new com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride(
this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride result) {
if (inputBaselinesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
inputBaselines_ = java.util.Collections.unmodifiableList(inputBaselines_);
@@ -564,8 +576,11 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
} else {
result.inputBaselines_ = inputBaselinesBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
@@ -1219,6 +1234,7 @@ private static final class InputsDefaultEntryHolder {
.InputMetadataOverride.getDefaultInstance());
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField<
java.lang.String,
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride>
@@ -1309,9 +1325,11 @@ public boolean containsInputs(java.lang.String key) {
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride
+ public /* nullable */ com.google.cloud.aiplatform.v1.ExplanationMetadataOverride
+ .InputMetadataOverride
getInputsOrDefault(
java.lang.String key,
+ /* nullable */
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride
defaultValue) {
if (key == null) {
@@ -1588,6 +1606,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
internalGetMutableInputs().clear();
return this;
}
@@ -1616,13 +1635,21 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride build() {
public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride result =
new com.google.cloud.aiplatform.v1.ExplanationMetadataOverride(this);
- int from_bitField0_ = bitField0_;
- result.inputs_ = internalGetInputs();
- result.inputs_.makeImmutable();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplanationMetadataOverride result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.inputs_ = internalGetInputs();
+ result.inputs_.makeImmutable();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1670,6 +1697,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExplanationMetadataOverr
if (other == com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.getDefaultInstance())
return this;
internalGetMutableInputs().mergeFrom(other.internalGetInputs());
+ bitField0_ |= 0x00000001;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1709,6 +1737,7 @@ public Builder mergeFrom(
internalGetMutableInputs()
.getMutableMap()
.put(inputs__.getKey(), inputs__.getValue());
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -1749,14 +1778,14 @@ public Builder mergeFrom(
java.lang.String,
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride>
internalGetMutableInputs() {
- onChanged();
- ;
if (inputs_ == null) {
inputs_ = com.google.protobuf.MapField.newMapField(InputsDefaultEntryHolder.defaultEntry);
}
if (!inputs_.isMutable()) {
inputs_ = inputs_.copy();
}
+ bitField0_ |= 0x00000001;
+ onChanged();
return inputs_;
}
@@ -1835,9 +1864,11 @@ public boolean containsInputs(java.lang.String key) {
*
*/
@java.lang.Override
- public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride
+ public /* nullable */ com.google.cloud.aiplatform.v1.ExplanationMetadataOverride
+ .InputMetadataOverride
getInputsOrDefault(
java.lang.String key,
+ /* nullable */
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride
defaultValue) {
if (key == null) {
@@ -1882,6 +1913,7 @@ public boolean containsInputs(java.lang.String key) {
}
public Builder clearInputs() {
+ bitField0_ = (bitField0_ & ~0x00000001);
internalGetMutableInputs().getMutableMap().clear();
return this;
}
@@ -1914,6 +1946,7 @@ public Builder removeInputs(java.lang.String key) {
java.lang.String,
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride>
getMutableInputs() {
+ bitField0_ |= 0x00000001;
return internalGetMutableInputs().getMutableMap();
}
/**
@@ -1941,8 +1974,8 @@ public Builder putInputs(
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableInputs().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000001;
return this;
}
/**
@@ -1967,6 +2000,7 @@ public Builder putAllInputs(
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride>
values) {
internalGetMutableInputs().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000001;
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverrideOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverrideOrBuilder.java
index eff6daf642f7..571cdfa20a33 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverrideOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationMetadataOverrideOrBuilder.java
@@ -99,7 +99,6 @@ public interface ExplanationMetadataOverrideOrBuilder
* map<string, .google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride> inputs = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
-
/* nullable */
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride
getInputsOrDefault(
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java
index b2106bb5a2cb..ff74e65be707 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationParameters.java
@@ -317,7 +317,7 @@ public com.google.cloud.aiplatform.v1.XraiAttributionOrBuilder getXraiAttributio
}
public static final int TOP_K_FIELD_NUMBER = 4;
- private int topK_;
+ private int topK_ = 0;
/**
*
*
@@ -409,7 +409,9 @@ public com.google.protobuf.ListValue getOutputIndices() {
*/
@java.lang.Override
public com.google.protobuf.ListValueOrBuilder getOutputIndicesOrBuilder() {
- return getOutputIndices();
+ return outputIndices_ == null
+ ? com.google.protobuf.ListValue.getDefaultInstance()
+ : outputIndices_;
}
private byte memoizedIsInitialized = -1;
@@ -680,6 +682,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (sampledShapleyAttributionBuilder_ != null) {
sampledShapleyAttributionBuilder_.clear();
}
@@ -690,11 +693,9 @@ public Builder clear() {
xraiAttributionBuilder_.clear();
}
topK_ = 0;
-
- if (outputIndicesBuilder_ == null) {
- outputIndices_ = null;
- } else {
- outputIndices_ = null;
+ outputIndices_ = null;
+ if (outputIndicesBuilder_ != null) {
+ outputIndicesBuilder_.dispose();
outputIndicesBuilder_ = null;
}
methodCase_ = 0;
@@ -726,36 +727,37 @@ public com.google.cloud.aiplatform.v1.ExplanationParameters build() {
public com.google.cloud.aiplatform.v1.ExplanationParameters buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationParameters result =
new com.google.cloud.aiplatform.v1.ExplanationParameters(this);
- if (methodCase_ == 1) {
- if (sampledShapleyAttributionBuilder_ == null) {
- result.method_ = method_;
- } else {
- result.method_ = sampledShapleyAttributionBuilder_.build();
- }
- }
- if (methodCase_ == 2) {
- if (integratedGradientsAttributionBuilder_ == null) {
- result.method_ = method_;
- } else {
- result.method_ = integratedGradientsAttributionBuilder_.build();
- }
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- if (methodCase_ == 3) {
- if (xraiAttributionBuilder_ == null) {
- result.method_ = method_;
- } else {
- result.method_ = xraiAttributionBuilder_.build();
- }
+ buildPartialOneofs(result);
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplanationParameters result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.topK_ = topK_;
}
- result.topK_ = topK_;
- if (outputIndicesBuilder_ == null) {
- result.outputIndices_ = outputIndices_;
- } else {
- result.outputIndices_ = outputIndicesBuilder_.build();
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.outputIndices_ =
+ outputIndicesBuilder_ == null ? outputIndices_ : outputIndicesBuilder_.build();
}
+ }
+
+ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.ExplanationParameters result) {
result.methodCase_ = methodCase_;
- onBuilt();
- return result;
+ result.method_ = this.method_;
+ if (methodCase_ == 1 && sampledShapleyAttributionBuilder_ != null) {
+ result.method_ = sampledShapleyAttributionBuilder_.build();
+ }
+ if (methodCase_ == 2 && integratedGradientsAttributionBuilder_ != null) {
+ result.method_ = integratedGradientsAttributionBuilder_.build();
+ }
+ if (methodCase_ == 3 && xraiAttributionBuilder_ != null) {
+ result.method_ = xraiAttributionBuilder_.build();
+ }
}
@java.lang.Override
@@ -881,13 +883,13 @@ public Builder mergeFrom(
case 32:
{
topK_ = input.readInt32();
-
+ bitField0_ |= 0x00000008;
break;
} // case 32
case 42:
{
input.readMessage(getOutputIndicesFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 42
default:
@@ -921,6 +923,8 @@ public Builder clearMethod() {
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.SampledShapleyAttribution,
com.google.cloud.aiplatform.v1.SampledShapleyAttribution.Builder,
@@ -1168,7 +1172,6 @@ public Builder clearSampledShapleyAttribution() {
}
methodCase_ = 1;
onChanged();
- ;
return sampledShapleyAttributionBuilder_;
}
@@ -1422,7 +1425,6 @@ public Builder clearIntegratedGradientsAttribution() {
}
methodCase_ = 2;
onChanged();
- ;
return integratedGradientsAttributionBuilder_;
}
@@ -1695,7 +1697,6 @@ public com.google.cloud.aiplatform.v1.XraiAttributionOrBuilder getXraiAttributio
}
methodCase_ = 3;
onChanged();
- ;
return xraiAttributionBuilder_;
}
@@ -1736,6 +1737,7 @@ public int getTopK() {
public Builder setTopK(int value) {
topK_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1754,7 +1756,7 @@ public Builder setTopK(int value) {
* @return This builder for chaining.
*/
public Builder clearTopK() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
topK_ = 0;
onChanged();
return this;
@@ -1787,7 +1789,7 @@ public Builder clearTopK() {
* @return Whether the outputIndices field is set.
*/
public boolean hasOutputIndices() {
- return outputIndicesBuilder_ != null || outputIndices_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -1842,11 +1844,11 @@ public Builder setOutputIndices(com.google.protobuf.ListValue value) {
throw new NullPointerException();
}
outputIndices_ = value;
- onChanged();
} else {
outputIndicesBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -1870,11 +1872,11 @@ public Builder setOutputIndices(com.google.protobuf.ListValue value) {
public Builder setOutputIndices(com.google.protobuf.ListValue.Builder builderForValue) {
if (outputIndicesBuilder_ == null) {
outputIndices_ = builderForValue.build();
- onChanged();
} else {
outputIndicesBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -1897,19 +1899,18 @@ public Builder setOutputIndices(com.google.protobuf.ListValue.Builder builderFor
*/
public Builder mergeOutputIndices(com.google.protobuf.ListValue value) {
if (outputIndicesBuilder_ == null) {
- if (outputIndices_ != null) {
- outputIndices_ =
- com.google.protobuf.ListValue.newBuilder(outputIndices_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && outputIndices_ != null
+ && outputIndices_ != com.google.protobuf.ListValue.getDefaultInstance()) {
+ getOutputIndicesBuilder().mergeFrom(value);
} else {
outputIndices_ = value;
}
- onChanged();
} else {
outputIndicesBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -1931,14 +1932,13 @@ public Builder mergeOutputIndices(com.google.protobuf.ListValue value) {
* .google.protobuf.ListValue output_indices = 5;
*/
public Builder clearOutputIndices() {
- if (outputIndicesBuilder_ == null) {
- outputIndices_ = null;
- onChanged();
- } else {
- outputIndices_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ outputIndices_ = null;
+ if (outputIndicesBuilder_ != null) {
+ outputIndicesBuilder_.dispose();
outputIndicesBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1960,7 +1960,7 @@ public Builder clearOutputIndices() {
* .google.protobuf.ListValue output_indices = 5;
*/
public com.google.protobuf.ListValue.Builder getOutputIndicesBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getOutputIndicesFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java
index 5dedd9fa3a14..3aa6750a8988 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpec.java
@@ -116,7 +116,9 @@ public com.google.cloud.aiplatform.v1.ExplanationParameters getParameters() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationParametersOrBuilder getParametersOrBuilder() {
- return getParameters();
+ return parameters_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationParameters.getDefaultInstance()
+ : parameters_;
}
public static final int METADATA_FIELD_NUMBER = 2;
@@ -170,7 +172,9 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadata getMetadata() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadataOrBuilder getMetadataOrBuilder() {
- return getMetadata();
+ return metadata_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationMetadata.getDefaultInstance()
+ : metadata_;
}
private byte memoizedIsInitialized = -1;
@@ -389,16 +393,15 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (parametersBuilder_ == null) {
- parameters_ = null;
- } else {
- parameters_ = null;
+ bitField0_ = 0;
+ parameters_ = null;
+ if (parametersBuilder_ != null) {
+ parametersBuilder_.dispose();
parametersBuilder_ = null;
}
- if (metadataBuilder_ == null) {
- metadata_ = null;
- } else {
- metadata_ = null;
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
return this;
@@ -428,20 +431,23 @@ public com.google.cloud.aiplatform.v1.ExplanationSpec build() {
public com.google.cloud.aiplatform.v1.ExplanationSpec buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationSpec result =
new com.google.cloud.aiplatform.v1.ExplanationSpec(this);
- if (parametersBuilder_ == null) {
- result.parameters_ = parameters_;
- } else {
- result.parameters_ = parametersBuilder_.build();
- }
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplanationSpec result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.parameters_ = parametersBuilder_ == null ? parameters_ : parametersBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -522,13 +528,13 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getParametersFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -548,6 +554,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.ExplanationParameters parameters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.ExplanationParameters,
@@ -568,7 +576,7 @@ public Builder mergeFrom(
* @return Whether the parameters field is set.
*/
public boolean hasParameters() {
- return parametersBuilder_ != null || parameters_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -609,11 +617,11 @@ public Builder setParameters(com.google.cloud.aiplatform.v1.ExplanationParameter
throw new NullPointerException();
}
parameters_ = value;
- onChanged();
} else {
parametersBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -631,11 +639,11 @@ public Builder setParameters(
com.google.cloud.aiplatform.v1.ExplanationParameters.Builder builderForValue) {
if (parametersBuilder_ == null) {
parameters_ = builderForValue.build();
- onChanged();
} else {
parametersBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -651,19 +659,19 @@ public Builder setParameters(
*/
public Builder mergeParameters(com.google.cloud.aiplatform.v1.ExplanationParameters value) {
if (parametersBuilder_ == null) {
- if (parameters_ != null) {
- parameters_ =
- com.google.cloud.aiplatform.v1.ExplanationParameters.newBuilder(parameters_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && parameters_ != null
+ && parameters_
+ != com.google.cloud.aiplatform.v1.ExplanationParameters.getDefaultInstance()) {
+ getParametersBuilder().mergeFrom(value);
} else {
parameters_ = value;
}
- onChanged();
} else {
parametersBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -678,14 +686,13 @@ public Builder mergeParameters(com.google.cloud.aiplatform.v1.ExplanationParamet
*
*/
public Builder clearParameters() {
- if (parametersBuilder_ == null) {
- parameters_ = null;
- onChanged();
- } else {
- parameters_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ parameters_ = null;
+ if (parametersBuilder_ != null) {
+ parametersBuilder_.dispose();
parametersBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -700,7 +707,7 @@ public Builder clearParameters() {
*
*/
public com.google.cloud.aiplatform.v1.ExplanationParameters.Builder getParametersBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getParametersFieldBuilder().getBuilder();
}
@@ -772,7 +779,7 @@ public com.google.cloud.aiplatform.v1.ExplanationParametersOrBuilder getParamete
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return metadataBuilder_ != null || metadata_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -813,11 +820,11 @@ public Builder setMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata va
throw new NullPointerException();
}
metadata_ = value;
- onChanged();
} else {
metadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -835,11 +842,11 @@ public Builder setMetadata(
com.google.cloud.aiplatform.v1.ExplanationMetadata.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
- onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -855,19 +862,19 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata value) {
if (metadataBuilder_ == null) {
- if (metadata_ != null) {
- metadata_ =
- com.google.cloud.aiplatform.v1.ExplanationMetadata.newBuilder(metadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && metadata_ != null
+ && metadata_
+ != com.google.cloud.aiplatform.v1.ExplanationMetadata.getDefaultInstance()) {
+ getMetadataBuilder().mergeFrom(value);
} else {
metadata_ = value;
}
- onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -882,14 +889,13 @@ public Builder mergeMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadata
*
*/
public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = null;
- onChanged();
- } else {
- metadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -904,7 +910,7 @@ public Builder clearMetadata() {
*
*/
public com.google.cloud.aiplatform.v1.ExplanationMetadata.Builder getMetadataBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOverride.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOverride.java
index 4035e351db66..7d190c7dea43 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOverride.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExplanationSpecOverride.java
@@ -118,7 +118,9 @@ public com.google.cloud.aiplatform.v1.ExplanationParameters getParameters() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationParametersOrBuilder getParametersOrBuilder() {
- return getParameters();
+ return parameters_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationParameters.getDefaultInstance()
+ : parameters_;
}
public static final int METADATA_FIELD_NUMBER = 2;
@@ -167,7 +169,9 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride getMetadata()
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExplanationMetadataOverrideOrBuilder
getMetadataOrBuilder() {
- return getMetadata();
+ return metadata_ == null
+ ? com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.getDefaultInstance()
+ : metadata_;
}
public static final int EXAMPLES_OVERRIDE_FIELD_NUMBER = 3;
@@ -215,7 +219,9 @@ public com.google.cloud.aiplatform.v1.ExamplesOverride getExamplesOverride() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExamplesOverrideOrBuilder getExamplesOverrideOrBuilder() {
- return getExamplesOverride();
+ return examplesOverride_ == null
+ ? com.google.cloud.aiplatform.v1.ExamplesOverride.getDefaultInstance()
+ : examplesOverride_;
}
private byte memoizedIsInitialized = -1;
@@ -451,22 +457,20 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (parametersBuilder_ == null) {
- parameters_ = null;
- } else {
- parameters_ = null;
+ bitField0_ = 0;
+ parameters_ = null;
+ if (parametersBuilder_ != null) {
+ parametersBuilder_.dispose();
parametersBuilder_ = null;
}
- if (metadataBuilder_ == null) {
- metadata_ = null;
- } else {
- metadata_ = null;
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
- if (examplesOverrideBuilder_ == null) {
- examplesOverride_ = null;
- } else {
- examplesOverride_ = null;
+ examplesOverride_ = null;
+ if (examplesOverrideBuilder_ != null) {
+ examplesOverrideBuilder_.dispose();
examplesOverrideBuilder_ = null;
}
return this;
@@ -496,25 +500,27 @@ public com.google.cloud.aiplatform.v1.ExplanationSpecOverride build() {
public com.google.cloud.aiplatform.v1.ExplanationSpecOverride buildPartial() {
com.google.cloud.aiplatform.v1.ExplanationSpecOverride result =
new com.google.cloud.aiplatform.v1.ExplanationSpecOverride(this);
- if (parametersBuilder_ == null) {
- result.parameters_ = parameters_;
- } else {
- result.parameters_ = parametersBuilder_.build();
- }
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
- }
- if (examplesOverrideBuilder_ == null) {
- result.examplesOverride_ = examplesOverride_;
- } else {
- result.examplesOverride_ = examplesOverrideBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExplanationSpecOverride result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.parameters_ = parametersBuilder_ == null ? parameters_ : parametersBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.examplesOverride_ =
+ examplesOverrideBuilder_ == null ? examplesOverride_ : examplesOverrideBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -599,20 +605,20 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getParametersFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
input.readMessage(
getExamplesOverrideFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
default:
@@ -632,6 +638,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.ExplanationParameters parameters_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.ExplanationParameters,
@@ -652,7 +660,7 @@ public Builder mergeFrom(
* @return Whether the parameters field is set.
*/
public boolean hasParameters() {
- return parametersBuilder_ != null || parameters_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -693,11 +701,11 @@ public Builder setParameters(com.google.cloud.aiplatform.v1.ExplanationParameter
throw new NullPointerException();
}
parameters_ = value;
- onChanged();
} else {
parametersBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -715,11 +723,11 @@ public Builder setParameters(
com.google.cloud.aiplatform.v1.ExplanationParameters.Builder builderForValue) {
if (parametersBuilder_ == null) {
parameters_ = builderForValue.build();
- onChanged();
} else {
parametersBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -735,19 +743,19 @@ public Builder setParameters(
*/
public Builder mergeParameters(com.google.cloud.aiplatform.v1.ExplanationParameters value) {
if (parametersBuilder_ == null) {
- if (parameters_ != null) {
- parameters_ =
- com.google.cloud.aiplatform.v1.ExplanationParameters.newBuilder(parameters_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && parameters_ != null
+ && parameters_
+ != com.google.cloud.aiplatform.v1.ExplanationParameters.getDefaultInstance()) {
+ getParametersBuilder().mergeFrom(value);
} else {
parameters_ = value;
}
- onChanged();
} else {
parametersBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -762,14 +770,13 @@ public Builder mergeParameters(com.google.cloud.aiplatform.v1.ExplanationParamet
* .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
*/
public Builder clearParameters() {
- if (parametersBuilder_ == null) {
- parameters_ = null;
- onChanged();
- } else {
- parameters_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ parameters_ = null;
+ if (parametersBuilder_ != null) {
+ parametersBuilder_.dispose();
parametersBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -784,7 +791,7 @@ public Builder clearParameters() {
* .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1;
*/
public com.google.cloud.aiplatform.v1.ExplanationParameters.Builder getParametersBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getParametersFieldBuilder().getBuilder();
}
@@ -854,7 +861,7 @@ public com.google.cloud.aiplatform.v1.ExplanationParametersOrBuilder getParamete
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return metadataBuilder_ != null || metadata_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -891,11 +898,11 @@ public Builder setMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadataOve
throw new NullPointerException();
}
metadata_ = value;
- onChanged();
} else {
metadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -911,11 +918,11 @@ public Builder setMetadata(
com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
- onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -929,19 +936,20 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadataOverride value) {
if (metadataBuilder_ == null) {
- if (metadata_ != null) {
- metadata_ =
- com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.newBuilder(metadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && metadata_ != null
+ && metadata_
+ != com.google.cloud.aiplatform.v1.ExplanationMetadataOverride
+ .getDefaultInstance()) {
+ getMetadataBuilder().mergeFrom(value);
} else {
metadata_ = value;
}
- onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -954,14 +962,13 @@ public Builder mergeMetadata(com.google.cloud.aiplatform.v1.ExplanationMetadataO
* .google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
*/
public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = null;
- onChanged();
- } else {
- metadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -974,7 +981,7 @@ public Builder clearMetadata() {
* .google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2;
*/
public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.Builder getMetadataBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
@@ -1041,7 +1048,7 @@ public com.google.cloud.aiplatform.v1.ExplanationMetadataOverride.Builder getMet
* @return Whether the examplesOverride field is set.
*/
public boolean hasExamplesOverride() {
- return examplesOverrideBuilder_ != null || examplesOverride_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1078,11 +1085,11 @@ public Builder setExamplesOverride(com.google.cloud.aiplatform.v1.ExamplesOverri
throw new NullPointerException();
}
examplesOverride_ = value;
- onChanged();
} else {
examplesOverrideBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1098,11 +1105,11 @@ public Builder setExamplesOverride(
com.google.cloud.aiplatform.v1.ExamplesOverride.Builder builderForValue) {
if (examplesOverrideBuilder_ == null) {
examplesOverride_ = builderForValue.build();
- onChanged();
} else {
examplesOverrideBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1116,19 +1123,19 @@ public Builder setExamplesOverride(
*/
public Builder mergeExamplesOverride(com.google.cloud.aiplatform.v1.ExamplesOverride value) {
if (examplesOverrideBuilder_ == null) {
- if (examplesOverride_ != null) {
- examplesOverride_ =
- com.google.cloud.aiplatform.v1.ExamplesOverride.newBuilder(examplesOverride_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && examplesOverride_ != null
+ && examplesOverride_
+ != com.google.cloud.aiplatform.v1.ExamplesOverride.getDefaultInstance()) {
+ getExamplesOverrideBuilder().mergeFrom(value);
} else {
examplesOverride_ = value;
}
- onChanged();
} else {
examplesOverrideBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1141,14 +1148,13 @@ public Builder mergeExamplesOverride(com.google.cloud.aiplatform.v1.ExamplesOver
* .google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
*/
public Builder clearExamplesOverride() {
- if (examplesOverrideBuilder_ == null) {
- examplesOverride_ = null;
- onChanged();
- } else {
- examplesOverride_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ examplesOverride_ = null;
+ if (examplesOverrideBuilder_ != null) {
+ examplesOverrideBuilder_.dispose();
examplesOverrideBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1161,7 +1167,7 @@ public Builder clearExamplesOverride() {
* .google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3;
*/
public com.google.cloud.aiplatform.v1.ExamplesOverride.Builder getExamplesOverrideBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getExamplesOverrideFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataConfig.java
index dc906454561b..19c3d96eca98 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataConfig.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataConfig.java
@@ -188,7 +188,9 @@ public com.google.cloud.aiplatform.v1.GcsDestinationOrBuilder getGcsDestinationO
}
public static final int ANNOTATIONS_FILTER_FIELD_NUMBER = 2;
- private volatile java.lang.Object annotationsFilter_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object annotationsFilter_ = "";
/**
*
*
@@ -464,11 +466,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (gcsDestinationBuilder_ != null) {
gcsDestinationBuilder_.clear();
}
annotationsFilter_ = "";
-
destinationCase_ = 0;
destination_ = null;
return this;
@@ -498,19 +500,29 @@ public com.google.cloud.aiplatform.v1.ExportDataConfig build() {
public com.google.cloud.aiplatform.v1.ExportDataConfig buildPartial() {
com.google.cloud.aiplatform.v1.ExportDataConfig result =
new com.google.cloud.aiplatform.v1.ExportDataConfig(this);
- if (destinationCase_ == 1) {
- if (gcsDestinationBuilder_ == null) {
- result.destination_ = destination_;
- } else {
- result.destination_ = gcsDestinationBuilder_.build();
- }
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.annotationsFilter_ = annotationsFilter_;
- result.destinationCase_ = destinationCase_;
+ buildPartialOneofs(result);
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportDataConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.annotationsFilter_ = annotationsFilter_;
+ }
+ }
+
+ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.ExportDataConfig result) {
+ result.destinationCase_ = destinationCase_;
+ result.destination_ = this.destination_;
+ if (destinationCase_ == 1 && gcsDestinationBuilder_ != null) {
+ result.destination_ = gcsDestinationBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -559,6 +571,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportDataConfig other)
return this;
if (!other.getAnnotationsFilter().isEmpty()) {
annotationsFilter_ = other.annotationsFilter_;
+ bitField0_ |= 0x00000002;
onChanged();
}
switch (other.getDestinationCase()) {
@@ -607,7 +620,7 @@ public Builder mergeFrom(
case 18:
{
annotationsFilter_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -641,6 +654,8 @@ public Builder clearDestination() {
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GcsDestination,
com.google.cloud.aiplatform.v1.GcsDestination.Builder,
@@ -919,7 +934,6 @@ public com.google.cloud.aiplatform.v1.GcsDestinationOrBuilder getGcsDestinationO
}
destinationCase_ = 1;
onChanged();
- ;
return gcsDestinationBuilder_;
}
@@ -993,8 +1007,8 @@ public Builder setAnnotationsFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
annotationsFilter_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1013,8 +1027,8 @@ public Builder setAnnotationsFilter(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearAnnotationsFilter() {
-
annotationsFilter_ = getDefaultInstance().getAnnotationsFilter();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1038,8 +1052,8 @@ public Builder setAnnotationsFilterBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
annotationsFilter_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataOperationMetadata.java
index 383a939a986d..47c08541a631 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataOperationMetadata.java
@@ -114,11 +114,15 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 2;
- private volatile java.lang.Object gcsOutputDirectory_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object gcsOutputDirectory_ = "";
/**
*
*
@@ -381,14 +385,13 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
gcsOutputDirectory_ = "";
-
return this;
}
@@ -416,16 +419,24 @@ public com.google.cloud.aiplatform.v1.ExportDataOperationMetadata build() {
public com.google.cloud.aiplatform.v1.ExportDataOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.ExportDataOperationMetadata result =
new com.google.cloud.aiplatform.v1.ExportDataOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.gcsOutputDirectory_ = gcsOutputDirectory_;
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportDataOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.gcsOutputDirectory_ = gcsOutputDirectory_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -477,6 +488,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportDataOperationMetad
}
if (!other.getGcsOutputDirectory().isEmpty()) {
gcsOutputDirectory_ = other.gcsOutputDirectory_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -508,13 +520,13 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
gcsOutputDirectory_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -534,6 +546,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -552,7 +566,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -590,11 +604,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -610,11 +624,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -629,19 +643,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -654,14 +668,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -675,7 +688,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
@@ -788,8 +801,8 @@ public Builder setGcsOutputDirectory(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
gcsOutputDirectory_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -806,8 +819,8 @@ public Builder setGcsOutputDirectory(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearGcsOutputDirectory() {
-
gcsOutputDirectory_ = getDefaultInstance().getGcsOutputDirectory();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -829,8 +842,8 @@ public Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value)
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
gcsOutputDirectory_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataRequest.java
index 5133ecce03d1..600e31e8462b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -176,7 +178,9 @@ public com.google.cloud.aiplatform.v1.ExportDataConfig getExportConfig() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExportDataConfigOrBuilder getExportConfigOrBuilder() {
- return getExportConfig();
+ return exportConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ExportDataConfig.getDefaultInstance()
+ : exportConfig_;
}
private byte memoizedIsInitialized = -1;
@@ -391,12 +395,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
- if (exportConfigBuilder_ == null) {
- exportConfig_ = null;
- } else {
- exportConfig_ = null;
+ exportConfig_ = null;
+ if (exportConfigBuilder_ != null) {
+ exportConfigBuilder_.dispose();
exportConfigBuilder_ = null;
}
return this;
@@ -426,16 +429,24 @@ public com.google.cloud.aiplatform.v1.ExportDataRequest build() {
public com.google.cloud.aiplatform.v1.ExportDataRequest buildPartial() {
com.google.cloud.aiplatform.v1.ExportDataRequest result =
new com.google.cloud.aiplatform.v1.ExportDataRequest(this);
- result.name_ = name_;
- if (exportConfigBuilder_ == null) {
- result.exportConfig_ = exportConfig_;
- } else {
- result.exportConfig_ = exportConfigBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportDataRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.exportConfig_ =
+ exportConfigBuilder_ == null ? exportConfig_ : exportConfigBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -484,6 +495,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportDataRequest other)
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasExportConfig()) {
@@ -518,13 +530,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getExportConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -544,6 +556,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -617,8 +631,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -638,8 +652,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -664,8 +678,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -690,7 +704,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the exportConfig field is set.
*/
public boolean hasExportConfig() {
- return exportConfigBuilder_ != null || exportConfig_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -731,11 +745,11 @@ public Builder setExportConfig(com.google.cloud.aiplatform.v1.ExportDataConfig v
throw new NullPointerException();
}
exportConfig_ = value;
- onChanged();
} else {
exportConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -753,11 +767,11 @@ public Builder setExportConfig(
com.google.cloud.aiplatform.v1.ExportDataConfig.Builder builderForValue) {
if (exportConfigBuilder_ == null) {
exportConfig_ = builderForValue.build();
- onChanged();
} else {
exportConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -773,19 +787,19 @@ public Builder setExportConfig(
*/
public Builder mergeExportConfig(com.google.cloud.aiplatform.v1.ExportDataConfig value) {
if (exportConfigBuilder_ == null) {
- if (exportConfig_ != null) {
- exportConfig_ =
- com.google.cloud.aiplatform.v1.ExportDataConfig.newBuilder(exportConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && exportConfig_ != null
+ && exportConfig_
+ != com.google.cloud.aiplatform.v1.ExportDataConfig.getDefaultInstance()) {
+ getExportConfigBuilder().mergeFrom(value);
} else {
exportConfig_ = value;
}
- onChanged();
} else {
exportConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -800,14 +814,13 @@ public Builder mergeExportConfig(com.google.cloud.aiplatform.v1.ExportDataConfig
*
*/
public Builder clearExportConfig() {
- if (exportConfigBuilder_ == null) {
- exportConfig_ = null;
- onChanged();
- } else {
- exportConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ exportConfig_ = null;
+ if (exportConfigBuilder_ != null) {
+ exportConfigBuilder_.dispose();
exportConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -822,7 +835,7 @@ public Builder clearExportConfig() {
*
*/
public com.google.cloud.aiplatform.v1.ExportDataConfig.Builder getExportConfigBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getExportConfigFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataResponse.java
index 5d45026b69b4..7124e7b950a2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataResponse.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportDataResponse.java
@@ -69,6 +69,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int EXPORTED_FILES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList exportedFiles_;
/**
*
@@ -334,6 +336,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
exportedFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
@@ -363,14 +366,25 @@ public com.google.cloud.aiplatform.v1.ExportDataResponse build() {
public com.google.cloud.aiplatform.v1.ExportDataResponse buildPartial() {
com.google.cloud.aiplatform.v1.ExportDataResponse result =
new com.google.cloud.aiplatform.v1.ExportDataResponse(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExportDataResponse result) {
if (((bitField0_ & 0x00000001) != 0)) {
exportedFiles_ = exportedFiles_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.exportedFiles_ = exportedFiles_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportDataResponse result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesOperationMetadata.java
index f5bedc8063d9..dbc323e86c0b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesOperationMetadata.java
@@ -113,7 +113,9 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
private byte memoizedIsInitialized = -1;
@@ -321,10 +323,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
return this;
@@ -356,15 +358,22 @@ public com.google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata build
public com.google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata result =
new com.google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -446,7 +455,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -466,6 +475,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -484,7 +495,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -522,11 +533,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -542,11 +553,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -561,19 +572,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -586,14 +597,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -607,7 +617,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesRequest.java
index 0b7e0333d9b7..3891aa30ce99 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportFeatureValuesRequest.java
@@ -256,7 +256,9 @@ public com.google.protobuf.Timestamp getSnapshotTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
- return getSnapshotTime();
+ return snapshotTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : snapshotTime_;
}
public static final int START_TIME_FIELD_NUMBER = 2;
@@ -308,7 +310,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
- return getStartTime();
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
private byte memoizedIsInitialized = -1;
@@ -540,16 +542,15 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (snapshotTimeBuilder_ == null) {
- snapshotTime_ = null;
- } else {
- snapshotTime_ = null;
+ bitField0_ = 0;
+ snapshotTime_ = null;
+ if (snapshotTimeBuilder_ != null) {
+ snapshotTimeBuilder_.dispose();
snapshotTimeBuilder_ = null;
}
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- } else {
- startTime_ = null;
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
return this;
@@ -583,20 +584,25 @@ public com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport
buildPartial() {
com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport result =
new com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport(this);
- if (snapshotTimeBuilder_ == null) {
- result.snapshotTime_ = snapshotTime_;
- } else {
- result.snapshotTime_ = snapshotTimeBuilder_.build();
- }
- if (startTimeBuilder_ == null) {
- result.startTime_ = startTime_;
- } else {
- result.startTime_ = startTimeBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.snapshotTime_ =
+ snapshotTimeBuilder_ == null ? snapshotTime_ : snapshotTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -684,13 +690,13 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getSnapshotTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -710,6 +716,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.Timestamp snapshotTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -730,7 +738,7 @@ public Builder mergeFrom(
* @return Whether the snapshotTime field is set.
*/
public boolean hasSnapshotTime() {
- return snapshotTimeBuilder_ != null || snapshotTime_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -771,11 +779,11 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
snapshotTime_ = value;
- onChanged();
} else {
snapshotTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -792,11 +800,11 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp value) {
public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (snapshotTimeBuilder_ == null) {
snapshotTime_ = builderForValue.build();
- onChanged();
} else {
snapshotTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -812,19 +820,18 @@ public Builder setSnapshotTime(com.google.protobuf.Timestamp.Builder builderForV
*/
public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) {
if (snapshotTimeBuilder_ == null) {
- if (snapshotTime_ != null) {
- snapshotTime_ =
- com.google.protobuf.Timestamp.newBuilder(snapshotTime_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && snapshotTime_ != null
+ && snapshotTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getSnapshotTimeBuilder().mergeFrom(value);
} else {
snapshotTime_ = value;
}
- onChanged();
} else {
snapshotTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -839,14 +846,13 @@ public Builder mergeSnapshotTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp snapshot_time = 1;
*/
public Builder clearSnapshotTime() {
- if (snapshotTimeBuilder_ == null) {
- snapshotTime_ = null;
- onChanged();
- } else {
- snapshotTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ snapshotTime_ = null;
+ if (snapshotTimeBuilder_ != null) {
+ snapshotTimeBuilder_.dispose();
snapshotTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -861,7 +867,7 @@ public Builder clearSnapshotTime() {
* .google.protobuf.Timestamp snapshot_time = 1;
*/
public com.google.protobuf.Timestamp.Builder getSnapshotTimeBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getSnapshotTimeFieldBuilder().getBuilder();
}
@@ -933,7 +939,7 @@ public com.google.protobuf.TimestampOrBuilder getSnapshotTimeOrBuilder() {
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return startTimeBuilder_ != null || startTime_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -974,11 +980,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
startTime_ = value;
- onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -995,11 +1001,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
- onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1015,19 +1021,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
- if (startTime_ != null) {
- startTime_ =
- com.google.protobuf.Timestamp.newBuilder(startTime_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && startTime_ != null
+ && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getStartTimeBuilder().mergeFrom(value);
} else {
startTime_ = value;
}
- onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1042,14 +1047,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp start_time = 2;
*/
public Builder clearStartTime() {
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- onChanged();
- } else {
- startTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1064,7 +1068,7 @@ public Builder clearStartTime() {
* .google.protobuf.Timestamp start_time = 2;
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
@@ -1368,7 +1372,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
- return getStartTime();
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
public static final int END_TIME_FIELD_NUMBER = 1;
@@ -1420,7 +1424,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
- return getEndTime();
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
private byte memoizedIsInitialized = -1;
@@ -1645,16 +1649,15 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- } else {
- startTime_ = null;
+ bitField0_ = 0;
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
- if (endTimeBuilder_ == null) {
- endTime_ = null;
- } else {
- endTime_ = null;
+ endTime_ = null;
+ if (endTimeBuilder_ != null) {
+ endTimeBuilder_.dispose();
endTimeBuilder_ = null;
}
return this;
@@ -1687,20 +1690,24 @@ public com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport buil
public com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport buildPartial() {
com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport result =
new com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport(this);
- if (startTimeBuilder_ == null) {
- result.startTime_ = startTime_;
- } else {
- result.startTime_ = startTimeBuilder_.build();
- }
- if (endTimeBuilder_ == null) {
- result.endTime_ = endTime_;
- } else {
- result.endTime_ = endTimeBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1787,13 +1794,13 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 10
case 18:
{
input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 18
default:
@@ -1813,6 +1820,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.Timestamp startTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -1833,7 +1842,7 @@ public Builder mergeFrom(
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return startTimeBuilder_ != null || startTime_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -1874,11 +1883,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
startTime_ = value;
- onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1895,11 +1904,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
- onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1915,19 +1924,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
- if (startTime_ != null) {
- startTime_ =
- com.google.protobuf.Timestamp.newBuilder(startTime_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && startTime_ != null
+ && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getStartTimeBuilder().mergeFrom(value);
} else {
startTime_ = value;
}
- onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1942,14 +1950,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp start_time = 2;
*/
public Builder clearStartTime() {
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- onChanged();
- } else {
- startTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1964,7 +1971,7 @@ public Builder clearStartTime() {
* .google.protobuf.Timestamp start_time = 2;
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
@@ -2036,7 +2043,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
- return endTimeBuilder_ != null || endTime_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -2075,11 +2082,11 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
endTime_ = value;
- onChanged();
} else {
endTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -2096,11 +2103,11 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
- onChanged();
} else {
endTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -2116,17 +2123,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
*/
public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
- if (endTime_ != null) {
- endTime_ =
- com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && endTime_ != null
+ && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getEndTimeBuilder().mergeFrom(value);
} else {
endTime_ = value;
}
- onChanged();
} else {
endTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -2141,14 +2149,13 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp end_time = 1;
*/
public Builder clearEndTime() {
- if (endTimeBuilder_ == null) {
- endTime_ = null;
- onChanged();
- } else {
- endTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ endTime_ = null;
+ if (endTimeBuilder_ != null) {
+ endTimeBuilder_.dispose();
endTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2163,7 +2170,7 @@ public Builder clearEndTime() {
* .google.protobuf.Timestamp end_time = 1;
*/
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
@@ -2449,7 +2456,9 @@ public com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport getF
}
public static final int ENTITY_TYPE_FIELD_NUMBER = 1;
- private volatile java.lang.Object entityType_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object entityType_ = "";
/**
*
*
@@ -2556,7 +2565,9 @@ public com.google.cloud.aiplatform.v1.FeatureValueDestination getDestination() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeatureValueDestinationOrBuilder getDestinationOrBuilder() {
- return getDestination();
+ return destination_ == null
+ ? com.google.cloud.aiplatform.v1.FeatureValueDestination.getDefaultInstance()
+ : destination_;
}
public static final int FEATURE_SELECTOR_FIELD_NUMBER = 5;
@@ -2610,10 +2621,14 @@ public com.google.cloud.aiplatform.v1.FeatureSelector getFeatureSelector() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeatureSelectorOrBuilder getFeatureSelectorOrBuilder() {
- return getFeatureSelector();
+ return featureSelector_ == null
+ ? com.google.cloud.aiplatform.v1.FeatureSelector.getDefaultInstance()
+ : featureSelector_;
}
public static final int SETTINGS_FIELD_NUMBER = 6;
+
+ @SuppressWarnings("serial")
private java.util.List settings_;
/**
*
@@ -2963,6 +2978,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (snapshotExportBuilder_ != null) {
snapshotExportBuilder_.clear();
}
@@ -2970,17 +2986,14 @@ public Builder clear() {
fullExportBuilder_.clear();
}
entityType_ = "";
-
- if (destinationBuilder_ == null) {
- destination_ = null;
- } else {
- destination_ = null;
+ destination_ = null;
+ if (destinationBuilder_ != null) {
+ destinationBuilder_.dispose();
destinationBuilder_ = null;
}
- if (featureSelectorBuilder_ == null) {
- featureSelector_ = null;
- } else {
- featureSelector_ = null;
+ featureSelector_ = null;
+ if (featureSelectorBuilder_ != null) {
+ featureSelectorBuilder_.dispose();
featureSelectorBuilder_ = null;
}
if (settingsBuilder_ == null) {
@@ -2989,7 +3002,7 @@ public Builder clear() {
settings_ = null;
settingsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000020);
modeCase_ = 0;
mode_ = null;
return this;
@@ -3019,44 +3032,53 @@ public com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest build() {
public com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest buildPartial() {
com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest result =
new com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest(this);
- int from_bitField0_ = bitField0_;
- if (modeCase_ == 3) {
- if (snapshotExportBuilder_ == null) {
- result.mode_ = mode_;
- } else {
- result.mode_ = snapshotExportBuilder_.build();
- }
- }
- if (modeCase_ == 7) {
- if (fullExportBuilder_ == null) {
- result.mode_ = mode_;
- } else {
- result.mode_ = fullExportBuilder_.build();
- }
- }
- result.entityType_ = entityType_;
- if (destinationBuilder_ == null) {
- result.destination_ = destination_;
- } else {
- result.destination_ = destinationBuilder_.build();
- }
- if (featureSelectorBuilder_ == null) {
- result.featureSelector_ = featureSelector_;
- } else {
- result.featureSelector_ = featureSelectorBuilder_.build();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
+ buildPartialOneofs(result);
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest result) {
if (settingsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
settings_ = java.util.Collections.unmodifiableList(settings_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000020);
}
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.entityType_ = entityType_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.destination_ =
+ destinationBuilder_ == null ? destination_ : destinationBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.featureSelector_ =
+ featureSelectorBuilder_ == null ? featureSelector_ : featureSelectorBuilder_.build();
+ }
+ }
+
+ private void buildPartialOneofs(
+ com.google.cloud.aiplatform.v1.ExportFeatureValuesRequest result) {
result.modeCase_ = modeCase_;
- onBuilt();
- return result;
+ result.mode_ = this.mode_;
+ if (modeCase_ == 3 && snapshotExportBuilder_ != null) {
+ result.mode_ = snapshotExportBuilder_.build();
+ }
+ if (modeCase_ == 7 && fullExportBuilder_ != null) {
+ result.mode_ = fullExportBuilder_.build();
+ }
}
@java.lang.Override
@@ -3107,6 +3129,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportFeatureValuesReque
return this;
if (!other.getEntityType().isEmpty()) {
entityType_ = other.entityType_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (other.hasDestination()) {
@@ -3119,7 +3142,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportFeatureValuesReque
if (!other.settings_.isEmpty()) {
if (settings_.isEmpty()) {
settings_ = other.settings_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureSettingsIsMutable();
settings_.addAll(other.settings_);
@@ -3132,7 +3155,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportFeatureValuesReque
settingsBuilder_.dispose();
settingsBuilder_ = null;
settings_ = other.settings_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000020);
settingsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getSettingsFieldBuilder()
@@ -3187,7 +3210,7 @@ public Builder mergeFrom(
case 10:
{
entityType_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 10
case 26:
@@ -3199,13 +3222,13 @@ public Builder mergeFrom(
case 34:
{
input.readMessage(getDestinationFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
case 42:
{
input.readMessage(getFeatureSelectorFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 42
case 50:
@@ -3508,7 +3531,6 @@ public Builder clearSnapshotExport() {
}
modeCase_ = 3;
onChanged();
- ;
return snapshotExportBuilder_;
}
@@ -3748,7 +3770,6 @@ public Builder clearFullExport() {
}
modeCase_ = 7;
onChanged();
- ;
return fullExportBuilder_;
}
@@ -3825,8 +3846,8 @@ public Builder setEntityType(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
entityType_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -3846,8 +3867,8 @@ public Builder setEntityType(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEntityType() {
-
entityType_ = getDefaultInstance().getEntityType();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -3872,8 +3893,8 @@ public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
entityType_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -3898,7 +3919,7 @@ public Builder setEntityTypeBytes(com.google.protobuf.ByteString value) {
* @return Whether the destination field is set.
*/
public boolean hasDestination() {
- return destinationBuilder_ != null || destination_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -3939,11 +3960,11 @@ public Builder setDestination(com.google.cloud.aiplatform.v1.FeatureValueDestina
throw new NullPointerException();
}
destination_ = value;
- onChanged();
} else {
destinationBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -3961,11 +3982,11 @@ public Builder setDestination(
com.google.cloud.aiplatform.v1.FeatureValueDestination.Builder builderForValue) {
if (destinationBuilder_ == null) {
destination_ = builderForValue.build();
- onChanged();
} else {
destinationBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -3981,19 +4002,19 @@ public Builder setDestination(
*/
public Builder mergeDestination(com.google.cloud.aiplatform.v1.FeatureValueDestination value) {
if (destinationBuilder_ == null) {
- if (destination_ != null) {
- destination_ =
- com.google.cloud.aiplatform.v1.FeatureValueDestination.newBuilder(destination_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000008) != 0)
+ && destination_ != null
+ && destination_
+ != com.google.cloud.aiplatform.v1.FeatureValueDestination.getDefaultInstance()) {
+ getDestinationBuilder().mergeFrom(value);
} else {
destination_ = value;
}
- onChanged();
} else {
destinationBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -4008,14 +4029,13 @@ public Builder mergeDestination(com.google.cloud.aiplatform.v1.FeatureValueDesti
*
*/
public Builder clearDestination() {
- if (destinationBuilder_ == null) {
- destination_ = null;
- onChanged();
- } else {
- destination_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ destination_ = null;
+ if (destinationBuilder_ != null) {
+ destinationBuilder_.dispose();
destinationBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4030,7 +4050,7 @@ public Builder clearDestination() {
*
*/
public com.google.cloud.aiplatform.v1.FeatureValueDestination.Builder getDestinationBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getDestinationFieldBuilder().getBuilder();
}
@@ -4103,7 +4123,7 @@ public com.google.cloud.aiplatform.v1.FeatureValueDestination.Builder getDestina
* @return Whether the featureSelector field is set.
*/
public boolean hasFeatureSelector() {
- return featureSelectorBuilder_ != null || featureSelector_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -4144,11 +4164,11 @@ public Builder setFeatureSelector(com.google.cloud.aiplatform.v1.FeatureSelector
throw new NullPointerException();
}
featureSelector_ = value;
- onChanged();
} else {
featureSelectorBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -4166,11 +4186,11 @@ public Builder setFeatureSelector(
com.google.cloud.aiplatform.v1.FeatureSelector.Builder builderForValue) {
if (featureSelectorBuilder_ == null) {
featureSelector_ = builderForValue.build();
- onChanged();
} else {
featureSelectorBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -4186,19 +4206,19 @@ public Builder setFeatureSelector(
*/
public Builder mergeFeatureSelector(com.google.cloud.aiplatform.v1.FeatureSelector value) {
if (featureSelectorBuilder_ == null) {
- if (featureSelector_ != null) {
- featureSelector_ =
- com.google.cloud.aiplatform.v1.FeatureSelector.newBuilder(featureSelector_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && featureSelector_ != null
+ && featureSelector_
+ != com.google.cloud.aiplatform.v1.FeatureSelector.getDefaultInstance()) {
+ getFeatureSelectorBuilder().mergeFrom(value);
} else {
featureSelector_ = value;
}
- onChanged();
} else {
featureSelectorBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -4213,14 +4233,13 @@ public Builder mergeFeatureSelector(com.google.cloud.aiplatform.v1.FeatureSelect
*
*/
public Builder clearFeatureSelector() {
- if (featureSelectorBuilder_ == null) {
- featureSelector_ = null;
- onChanged();
- } else {
- featureSelector_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ featureSelector_ = null;
+ if (featureSelectorBuilder_ != null) {
+ featureSelectorBuilder_.dispose();
featureSelectorBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4235,7 +4254,7 @@ public Builder clearFeatureSelector() {
*
*/
public com.google.cloud.aiplatform.v1.FeatureSelector.Builder getFeatureSelectorBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getFeatureSelectorFieldBuilder().getBuilder();
}
@@ -4291,11 +4310,11 @@ public com.google.cloud.aiplatform.v1.FeatureSelectorOrBuilder getFeatureSelecto
java.util.Collections.emptyList();
private void ensureSettingsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000020) != 0)) {
settings_ =
new java.util.ArrayList(
settings_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000020;
}
}
@@ -4517,7 +4536,7 @@ public Builder addAllSettings(
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
settingsBuilder_.clear();
@@ -4645,7 +4664,7 @@ public com.google.cloud.aiplatform.v1.DestinationFeatureSetting.Builder addSetti
com.google.cloud.aiplatform.v1.DestinationFeatureSetting,
com.google.cloud.aiplatform.v1.DestinationFeatureSetting.Builder,
com.google.cloud.aiplatform.v1.DestinationFeatureSettingOrBuilder>(
- settings_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ settings_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
settings_ = null;
}
return settingsBuilder_;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelOperationMetadata.java
index 144889d104f8..a99b26d5deaa 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelOperationMetadata.java
@@ -180,7 +180,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int ARTIFACT_OUTPUT_URI_FIELD_NUMBER = 2;
- private volatile java.lang.Object artifactOutputUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object artifactOutputUri_ = "";
/**
*
*
@@ -233,7 +235,9 @@ public com.google.protobuf.ByteString getArtifactOutputUriBytes() {
}
public static final int IMAGE_OUTPUT_URI_FIELD_NUMBER = 3;
- private volatile java.lang.Object imageOutputUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object imageOutputUri_ = "";
/**
*
*
@@ -497,10 +501,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
artifactOutputUri_ = "";
-
imageOutputUri_ = "";
-
return this;
}
@@ -531,12 +534,24 @@ public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo bu
public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo buildPartial() {
com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo result =
new com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo(this);
- result.artifactOutputUri_ = artifactOutputUri_;
- result.imageOutputUri_ = imageOutputUri_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.artifactOutputUri_ = artifactOutputUri_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.imageOutputUri_ = imageOutputUri_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -591,10 +606,12 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getArtifactOutputUri().isEmpty()) {
artifactOutputUri_ = other.artifactOutputUri_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getImageOutputUri().isEmpty()) {
imageOutputUri_ = other.imageOutputUri_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -626,13 +643,13 @@ public Builder mergeFrom(
case 18:
{
artifactOutputUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 18
case 26:
{
imageOutputUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 26
default:
@@ -652,6 +669,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object artifactOutputUri_ = "";
/**
*
@@ -719,8 +738,8 @@ public Builder setArtifactOutputUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
artifactOutputUri_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -738,8 +757,8 @@ public Builder setArtifactOutputUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearArtifactOutputUri() {
-
artifactOutputUri_ = getDefaultInstance().getArtifactOutputUri();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -762,8 +781,8 @@ public Builder setArtifactOutputUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
artifactOutputUri_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -832,8 +851,8 @@ public Builder setImageOutputUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
imageOutputUri_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -850,8 +869,8 @@ public Builder setImageOutputUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearImageOutputUri() {
-
imageOutputUri_ = getDefaultInstance().getImageOutputUri();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -873,8 +892,8 @@ public Builder setImageOutputUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
imageOutputUri_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -993,7 +1012,9 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata getGenericMetadat
@java.lang.Override
public com.google.cloud.aiplatform.v1.GenericOperationMetadataOrBuilder
getGenericMetadataOrBuilder() {
- return getGenericMetadata();
+ return genericMetadata_ == null
+ ? com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()
+ : genericMetadata_;
}
public static final int OUTPUT_INFO_FIELD_NUMBER = 2;
@@ -1052,7 +1073,10 @@ public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo ge
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfoOrBuilder
getOutputInfoOrBuilder() {
- return getOutputInfo();
+ return outputInfo_ == null
+ ? com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo
+ .getDefaultInstance()
+ : outputInfo_;
}
private byte memoizedIsInitialized = -1;
@@ -1274,16 +1298,15 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- } else {
- genericMetadata_ = null;
+ bitField0_ = 0;
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
- if (outputInfoBuilder_ == null) {
- outputInfo_ = null;
- } else {
- outputInfo_ = null;
+ outputInfo_ = null;
+ if (outputInfoBuilder_ != null) {
+ outputInfoBuilder_.dispose();
outputInfoBuilder_ = null;
}
return this;
@@ -1313,20 +1336,24 @@ public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata build() {
public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.ExportModelOperationMetadata result =
new com.google.cloud.aiplatform.v1.ExportModelOperationMetadata(this);
- if (genericMetadataBuilder_ == null) {
- result.genericMetadata_ = genericMetadata_;
- } else {
- result.genericMetadata_ = genericMetadataBuilder_.build();
- }
- if (outputInfoBuilder_ == null) {
- result.outputInfo_ = outputInfo_;
- } else {
- result.outputInfo_ = outputInfoBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportModelOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.genericMetadata_ =
+ genericMetadataBuilder_ == null ? genericMetadata_ : genericMetadataBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.outputInfo_ = outputInfoBuilder_ == null ? outputInfo_ : outputInfoBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1408,13 +1435,13 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenericMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getOutputInfoFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -1434,6 +1461,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.GenericOperationMetadata genericMetadata_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.GenericOperationMetadata,
@@ -1452,7 +1481,7 @@ public Builder mergeFrom(
* @return Whether the genericMetadata field is set.
*/
public boolean hasGenericMetadata() {
- return genericMetadataBuilder_ != null || genericMetadata_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -1490,11 +1519,11 @@ public Builder setGenericMetadata(
throw new NullPointerException();
}
genericMetadata_ = value;
- onChanged();
} else {
genericMetadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1510,11 +1539,11 @@ public Builder setGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder builderForValue) {
if (genericMetadataBuilder_ == null) {
genericMetadata_ = builderForValue.build();
- onChanged();
} else {
genericMetadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1529,19 +1558,19 @@ public Builder setGenericMetadata(
public Builder mergeGenericMetadata(
com.google.cloud.aiplatform.v1.GenericOperationMetadata value) {
if (genericMetadataBuilder_ == null) {
- if (genericMetadata_ != null) {
- genericMetadata_ =
- com.google.cloud.aiplatform.v1.GenericOperationMetadata.newBuilder(genericMetadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && genericMetadata_ != null
+ && genericMetadata_
+ != com.google.cloud.aiplatform.v1.GenericOperationMetadata.getDefaultInstance()) {
+ getGenericMetadataBuilder().mergeFrom(value);
} else {
genericMetadata_ = value;
}
- onChanged();
} else {
genericMetadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -1554,14 +1583,13 @@ public Builder mergeGenericMetadata(
* .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1;
*/
public Builder clearGenericMetadata() {
- if (genericMetadataBuilder_ == null) {
- genericMetadata_ = null;
- onChanged();
- } else {
- genericMetadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ genericMetadata_ = null;
+ if (genericMetadataBuilder_ != null) {
+ genericMetadataBuilder_.dispose();
genericMetadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1575,7 +1603,7 @@ public Builder clearGenericMetadata() {
*/
public com.google.cloud.aiplatform.v1.GenericOperationMetadata.Builder
getGenericMetadataBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenericMetadataFieldBuilder().getBuilder();
}
@@ -1645,7 +1673,7 @@ public Builder clearGenericMetadata() {
* @return Whether the outputInfo field is set.
*/
public boolean hasOutputInfo() {
- return outputInfoBuilder_ != null || outputInfo_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1690,11 +1718,11 @@ public Builder setOutputInfo(
throw new NullPointerException();
}
outputInfo_ = value;
- onChanged();
} else {
outputInfoBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1714,11 +1742,11 @@ public Builder setOutputInfo(
builderForValue) {
if (outputInfoBuilder_ == null) {
outputInfo_ = builderForValue.build();
- onChanged();
} else {
outputInfoBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1736,20 +1764,20 @@ public Builder setOutputInfo(
public Builder mergeOutputInfo(
com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo value) {
if (outputInfoBuilder_ == null) {
- if (outputInfo_ != null) {
- outputInfo_ =
- com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo.newBuilder(
- outputInfo_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && outputInfo_ != null
+ && outputInfo_
+ != com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo
+ .getDefaultInstance()) {
+ getOutputInfoBuilder().mergeFrom(value);
} else {
outputInfo_ = value;
}
- onChanged();
} else {
outputInfoBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1765,14 +1793,13 @@ public Builder mergeOutputInfo(
*
*/
public Builder clearOutputInfo() {
- if (outputInfoBuilder_ == null) {
- outputInfo_ = null;
- onChanged();
- } else {
- outputInfo_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ outputInfo_ = null;
+ if (outputInfoBuilder_ != null) {
+ outputInfoBuilder_.dispose();
outputInfoBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1789,7 +1816,7 @@ public Builder clearOutputInfo() {
*/
public com.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo.Builder
getOutputInfoBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getOutputInfoFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelRequest.java
index 5633ddae0c4f..c49618c57fc0 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportModelRequest.java
@@ -257,7 +257,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int EXPORT_FORMAT_ID_FIELD_NUMBER = 1;
- private volatile java.lang.Object exportFormatId_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object exportFormatId_ = "";
/**
*
*
@@ -380,7 +382,9 @@ public com.google.cloud.aiplatform.v1.GcsDestination getArtifactDestination() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.GcsDestinationOrBuilder
getArtifactDestinationOrBuilder() {
- return getArtifactDestination();
+ return artifactDestination_ == null
+ ? com.google.cloud.aiplatform.v1.GcsDestination.getDefaultInstance()
+ : artifactDestination_;
}
public static final int IMAGE_DESTINATION_FIELD_NUMBER = 4;
@@ -438,7 +442,9 @@ public com.google.cloud.aiplatform.v1.ContainerRegistryDestination getImageDesti
@java.lang.Override
public com.google.cloud.aiplatform.v1.ContainerRegistryDestinationOrBuilder
getImageDestinationOrBuilder() {
- return getImageDestination();
+ return imageDestination_ == null
+ ? com.google.cloud.aiplatform.v1.ContainerRegistryDestination.getDefaultInstance()
+ : imageDestination_;
}
private byte memoizedIsInitialized = -1;
@@ -670,18 +676,16 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
exportFormatId_ = "";
-
- if (artifactDestinationBuilder_ == null) {
- artifactDestination_ = null;
- } else {
- artifactDestination_ = null;
+ artifactDestination_ = null;
+ if (artifactDestinationBuilder_ != null) {
+ artifactDestinationBuilder_.dispose();
artifactDestinationBuilder_ = null;
}
- if (imageDestinationBuilder_ == null) {
- imageDestination_ = null;
- } else {
- imageDestination_ = null;
+ imageDestination_ = null;
+ if (imageDestinationBuilder_ != null) {
+ imageDestinationBuilder_.dispose();
imageDestinationBuilder_ = null;
}
return this;
@@ -712,21 +716,33 @@ public com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig build() {
public com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig buildPartial() {
com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig result =
new com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig(this);
- result.exportFormatId_ = exportFormatId_;
- if (artifactDestinationBuilder_ == null) {
- result.artifactDestination_ = artifactDestination_;
- } else {
- result.artifactDestination_ = artifactDestinationBuilder_.build();
- }
- if (imageDestinationBuilder_ == null) {
- result.imageDestination_ = imageDestination_;
- } else {
- result.imageDestination_ = imageDestinationBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.exportFormatId_ = exportFormatId_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.artifactDestination_ =
+ artifactDestinationBuilder_ == null
+ ? artifactDestination_
+ : artifactDestinationBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.imageDestination_ =
+ imageDestinationBuilder_ == null
+ ? imageDestination_
+ : imageDestinationBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -779,6 +795,7 @@ public Builder mergeFrom(
return this;
if (!other.getExportFormatId().isEmpty()) {
exportFormatId_ = other.exportFormatId_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasArtifactDestination()) {
@@ -816,21 +833,21 @@ public Builder mergeFrom(
case 10:
{
exportFormatId_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 26:
{
input.readMessage(
getArtifactDestinationFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 26
case 34:
{
input.readMessage(
getImageDestinationFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 34
default:
@@ -850,6 +867,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object exportFormatId_ = "";
/**
*
@@ -923,8 +942,8 @@ public Builder setExportFormatId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
exportFormatId_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -944,8 +963,8 @@ public Builder setExportFormatId(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearExportFormatId() {
-
exportFormatId_ = getDefaultInstance().getExportFormatId();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -970,8 +989,8 @@ public Builder setExportFormatIdBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
exportFormatId_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1001,7 +1020,7 @@ public Builder setExportFormatIdBytes(com.google.protobuf.ByteString value) {
* @return Whether the artifactDestination field is set.
*/
public boolean hasArtifactDestination() {
- return artifactDestinationBuilder_ != null || artifactDestination_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1052,11 +1071,11 @@ public Builder setArtifactDestination(com.google.cloud.aiplatform.v1.GcsDestinat
throw new NullPointerException();
}
artifactDestination_ = value;
- onChanged();
} else {
artifactDestinationBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1079,11 +1098,11 @@ public Builder setArtifactDestination(
com.google.cloud.aiplatform.v1.GcsDestination.Builder builderForValue) {
if (artifactDestinationBuilder_ == null) {
artifactDestination_ = builderForValue.build();
- onChanged();
} else {
artifactDestinationBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1104,19 +1123,19 @@ public Builder setArtifactDestination(
*/
public Builder mergeArtifactDestination(com.google.cloud.aiplatform.v1.GcsDestination value) {
if (artifactDestinationBuilder_ == null) {
- if (artifactDestination_ != null) {
- artifactDestination_ =
- com.google.cloud.aiplatform.v1.GcsDestination.newBuilder(artifactDestination_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && artifactDestination_ != null
+ && artifactDestination_
+ != com.google.cloud.aiplatform.v1.GcsDestination.getDefaultInstance()) {
+ getArtifactDestinationBuilder().mergeFrom(value);
} else {
artifactDestination_ = value;
}
- onChanged();
} else {
artifactDestinationBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1136,14 +1155,13 @@ public Builder mergeArtifactDestination(com.google.cloud.aiplatform.v1.GcsDestin
* .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
*/
public Builder clearArtifactDestination() {
- if (artifactDestinationBuilder_ == null) {
- artifactDestination_ = null;
- onChanged();
- } else {
- artifactDestination_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ artifactDestination_ = null;
+ if (artifactDestinationBuilder_ != null) {
+ artifactDestinationBuilder_.dispose();
artifactDestinationBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1163,7 +1181,7 @@ public Builder clearArtifactDestination() {
* .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3;
*/
public com.google.cloud.aiplatform.v1.GcsDestination.Builder getArtifactDestinationBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getArtifactDestinationFieldBuilder().getBuilder();
}
@@ -1248,7 +1266,7 @@ public com.google.cloud.aiplatform.v1.GcsDestination.Builder getArtifactDestinat
* @return Whether the imageDestination field is set.
*/
public boolean hasImageDestination() {
- return imageDestinationBuilder_ != null || imageDestination_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1294,11 +1312,11 @@ public Builder setImageDestination(
throw new NullPointerException();
}
imageDestination_ = value;
- onChanged();
} else {
imageDestinationBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1318,11 +1336,11 @@ public Builder setImageDestination(
com.google.cloud.aiplatform.v1.ContainerRegistryDestination.Builder builderForValue) {
if (imageDestinationBuilder_ == null) {
imageDestination_ = builderForValue.build();
- onChanged();
} else {
imageDestinationBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1341,20 +1359,20 @@ public Builder setImageDestination(
public Builder mergeImageDestination(
com.google.cloud.aiplatform.v1.ContainerRegistryDestination value) {
if (imageDestinationBuilder_ == null) {
- if (imageDestination_ != null) {
- imageDestination_ =
- com.google.cloud.aiplatform.v1.ContainerRegistryDestination.newBuilder(
- imageDestination_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && imageDestination_ != null
+ && imageDestination_
+ != com.google.cloud.aiplatform.v1.ContainerRegistryDestination
+ .getDefaultInstance()) {
+ getImageDestinationBuilder().mergeFrom(value);
} else {
imageDestination_ = value;
}
- onChanged();
} else {
imageDestinationBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1371,14 +1389,13 @@ public Builder mergeImageDestination(
*
*/
public Builder clearImageDestination() {
- if (imageDestinationBuilder_ == null) {
- imageDestination_ = null;
- onChanged();
- } else {
- imageDestination_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ imageDestination_ = null;
+ if (imageDestinationBuilder_ != null) {
+ imageDestinationBuilder_.dispose();
imageDestinationBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1396,7 +1413,7 @@ public Builder clearImageDestination() {
*/
public com.google.cloud.aiplatform.v1.ContainerRegistryDestination.Builder
getImageDestinationBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getImageDestinationFieldBuilder().getBuilder();
}
@@ -1521,7 +1538,9 @@ public com.google.protobuf.Parser getParserForType() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -1629,7 +1648,9 @@ public com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig getOutputC
@java.lang.Override
public com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfigOrBuilder
getOutputConfigOrBuilder() {
- return getOutputConfig();
+ return outputConfig_ == null
+ ? com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig.getDefaultInstance()
+ : outputConfig_;
}
private byte memoizedIsInitialized = -1;
@@ -1844,12 +1865,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
- if (outputConfigBuilder_ == null) {
- outputConfig_ = null;
- } else {
- outputConfig_ = null;
+ outputConfig_ = null;
+ if (outputConfigBuilder_ != null) {
+ outputConfigBuilder_.dispose();
outputConfigBuilder_ = null;
}
return this;
@@ -1879,16 +1899,24 @@ public com.google.cloud.aiplatform.v1.ExportModelRequest build() {
public com.google.cloud.aiplatform.v1.ExportModelRequest buildPartial() {
com.google.cloud.aiplatform.v1.ExportModelRequest result =
new com.google.cloud.aiplatform.v1.ExportModelRequest(this);
- result.name_ = name_;
- if (outputConfigBuilder_ == null) {
- result.outputConfig_ = outputConfig_;
- } else {
- result.outputConfig_ = outputConfigBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ExportModelRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.outputConfig_ =
+ outputConfigBuilder_ == null ? outputConfig_ : outputConfigBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1937,6 +1965,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ExportModelRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasOutputConfig()) {
@@ -1971,13 +2000,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getOutputConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -1997,6 +2026,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -2070,8 +2101,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2091,8 +2122,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2117,8 +2148,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2143,7 +2174,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the outputConfig field is set.
*/
public boolean hasOutputConfig() {
- return outputConfigBuilder_ != null || outputConfig_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -2185,11 +2216,11 @@ public Builder setOutputConfig(
throw new NullPointerException();
}
outputConfig_ = value;
- onChanged();
} else {
outputConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -2207,11 +2238,11 @@ public Builder setOutputConfig(
com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig.Builder builderForValue) {
if (outputConfigBuilder_ == null) {
outputConfig_ = builderForValue.build();
- onChanged();
} else {
outputConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -2228,20 +2259,20 @@ public Builder setOutputConfig(
public Builder mergeOutputConfig(
com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig value) {
if (outputConfigBuilder_ == null) {
- if (outputConfig_ != null) {
- outputConfig_ =
- com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig.newBuilder(
- outputConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && outputConfig_ != null
+ && outputConfig_
+ != com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig
+ .getDefaultInstance()) {
+ getOutputConfigBuilder().mergeFrom(value);
} else {
outputConfig_ = value;
}
- onChanged();
} else {
outputConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -2256,14 +2287,13 @@ public Builder mergeOutputConfig(
*
*/
public Builder clearOutputConfig() {
- if (outputConfigBuilder_ == null) {
- outputConfig_ = null;
- onChanged();
- } else {
- outputConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ outputConfig_ = null;
+ if (outputConfigBuilder_ != null) {
+ outputConfigBuilder_.dispose();
outputConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2279,7 +2309,7 @@ public Builder clearOutputConfig() {
*/
public com.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig.Builder
getOutputConfigBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getOutputConfigFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataRequest.java
index cba0c084b49d..69ed988c2e97 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataRequest.java
@@ -74,7 +74,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int TENSORBOARD_TIME_SERIES_FIELD_NUMBER = 1;
- private volatile java.lang.Object tensorboardTimeSeries_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object tensorboardTimeSeries_ = "";
/**
*
*
@@ -131,7 +133,9 @@ public com.google.protobuf.ByteString getTensorboardTimeSeriesBytes() {
}
public static final int FILTER_FIELD_NUMBER = 2;
- private volatile java.lang.Object filter_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object filter_ = "";
/**
*
*
@@ -180,7 +184,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
}
public static final int PAGE_SIZE_FIELD_NUMBER = 3;
- private int pageSize_;
+ private int pageSize_ = 0;
/**
*
*
@@ -200,7 +204,9 @@ public int getPageSize() {
}
public static final int PAGE_TOKEN_FIELD_NUMBER = 4;
- private volatile java.lang.Object pageToken_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object pageToken_ = "";
/**
*
*
@@ -259,7 +265,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
}
public static final int ORDER_BY_FIELD_NUMBER = 5;
- private volatile java.lang.Object orderBy_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object orderBy_ = "";
/**
*
*
@@ -548,16 +556,12 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
tensorboardTimeSeries_ = "";
-
filter_ = "";
-
pageSize_ = 0;
-
pageToken_ = "";
-
orderBy_ = "";
-
return this;
}
@@ -587,15 +591,33 @@ public com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest bui
public com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest buildPartial() {
com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest result =
new com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest(this);
- result.tensorboardTimeSeries_ = tensorboardTimeSeries_;
- result.filter_ = filter_;
- result.pageSize_ = pageSize_;
- result.pageToken_ = pageToken_;
- result.orderBy_ = orderBy_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.tensorboardTimeSeries_ = tensorboardTimeSeries_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.filter_ = filter_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.pageSize_ = pageSize_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.pageToken_ = pageToken_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.orderBy_ = orderBy_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -647,10 +669,12 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getTensorboardTimeSeries().isEmpty()) {
tensorboardTimeSeries_ = other.tensorboardTimeSeries_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getFilter().isEmpty()) {
filter_ = other.filter_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.getPageSize() != 0) {
@@ -658,10 +682,12 @@ public Builder mergeFrom(
}
if (!other.getPageToken().isEmpty()) {
pageToken_ = other.pageToken_;
+ bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getOrderBy().isEmpty()) {
orderBy_ = other.orderBy_;
+ bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -693,31 +719,31 @@ public Builder mergeFrom(
case 10:
{
tensorboardTimeSeries_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
filter_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 24:
{
pageSize_ = input.readInt32();
-
+ bitField0_ |= 0x00000004;
break;
} // case 24
case 34:
{
pageToken_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
case 42:
{
orderBy_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000010;
break;
} // case 42
default:
@@ -737,6 +763,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object tensorboardTimeSeries_ = "";
/**
*
@@ -810,8 +838,8 @@ public Builder setTensorboardTimeSeries(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
tensorboardTimeSeries_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -831,8 +859,8 @@ public Builder setTensorboardTimeSeries(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearTensorboardTimeSeries() {
-
tensorboardTimeSeries_ = getDefaultInstance().getTensorboardTimeSeries();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -857,8 +885,8 @@ public Builder setTensorboardTimeSeriesBytes(com.google.protobuf.ByteString valu
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
tensorboardTimeSeries_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -924,8 +952,8 @@ public Builder setFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
filter_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -941,8 +969,8 @@ public Builder setFilter(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearFilter() {
-
filter_ = getDefaultInstance().getFilter();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -963,8 +991,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
filter_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1004,6 +1032,7 @@ public int getPageSize() {
public Builder setPageSize(int value) {
pageSize_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1021,7 +1050,7 @@ public Builder setPageSize(int value) {
* @return This builder for chaining.
*/
public Builder clearPageSize() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
pageSize_ = 0;
onChanged();
return this;
@@ -1103,8 +1132,8 @@ public Builder setPageToken(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
pageToken_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1125,8 +1154,8 @@ public Builder setPageToken(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearPageToken() {
-
pageToken_ = getDefaultInstance().getPageToken();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -1152,8 +1181,8 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
pageToken_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1225,8 +1254,8 @@ public Builder setOrderBy(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
orderBy_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -1244,8 +1273,8 @@ public Builder setOrderBy(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearOrderBy() {
-
orderBy_ = getDefaultInstance().getOrderBy();
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -1268,8 +1297,8 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
orderBy_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataResponse.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataResponse.java
index 5c6e664bb882..725e999f2187 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataResponse.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ExportTensorboardTimeSeriesDataResponse.java
@@ -72,6 +72,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int TIME_SERIES_DATA_POINTS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List timeSeriesDataPoints_;
/**
*
@@ -148,7 +150,9 @@ public com.google.cloud.aiplatform.v1.TimeSeriesDataPoint getTimeSeriesDataPoint
}
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
- private volatile java.lang.Object nextPageToken_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object nextPageToken_ = "";
/**
*
*
@@ -413,6 +417,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (timeSeriesDataPointsBuilder_ == null) {
timeSeriesDataPoints_ = java.util.Collections.emptyList();
} else {
@@ -421,7 +426,6 @@ public Builder clear() {
}
bitField0_ = (bitField0_ & ~0x00000001);
nextPageToken_ = "";
-
return this;
}
@@ -452,7 +456,16 @@ public com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse bu
public com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse buildPartial() {
com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse result =
new com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse result) {
if (timeSeriesDataPointsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
timeSeriesDataPoints_ = java.util.Collections.unmodifiableList(timeSeriesDataPoints_);
@@ -462,9 +475,14 @@ public com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse bu
} else {
result.timeSeriesDataPoints_ = timeSeriesDataPointsBuilder_.build();
}
- result.nextPageToken_ = nextPageToken_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.nextPageToken_ = nextPageToken_;
+ }
}
@java.lang.Override
@@ -545,6 +563,7 @@ public Builder mergeFrom(
}
if (!other.getNextPageToken().isEmpty()) {
nextPageToken_ = other.nextPageToken_;
+ bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -590,7 +609,7 @@ public Builder mergeFrom(
case 18:
{
nextPageToken_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -1061,8 +1080,8 @@ public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
nextPageToken_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1080,8 +1099,8 @@ public Builder setNextPageToken(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearNextPageToken() {
-
nextPageToken_ = getDefaultInstance().getNextPageToken();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1104,8 +1123,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
nextPageToken_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java
index 8efcf28d006c..f705b5e6ea25 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Feature.java
@@ -687,7 +687,7 @@ private Objective(int value) {
}
public static final int OBJECTIVE_FIELD_NUMBER = 1;
- private int objective_;
+ private int objective_ = 0;
/**
*
*
@@ -720,9 +720,8 @@ public int getObjectiveValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective getObjective() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective result =
- com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.valueOf(
+ com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.forNumber(
objective_);
return result == null
? com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.UNRECOGNIZED
@@ -781,7 +780,9 @@ public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly getFeatureStatsAnomaly
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeatureStatsAnomalyOrBuilder
getFeatureStatsAnomalyOrBuilder() {
- return getFeatureStatsAnomaly();
+ return featureStatsAnomaly_ == null
+ ? com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.getDefaultInstance()
+ : featureStatsAnomaly_;
}
private byte memoizedIsInitialized = -1;
@@ -1010,12 +1011,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
objective_ = 0;
-
- if (featureStatsAnomalyBuilder_ == null) {
- featureStatsAnomaly_ = null;
- } else {
- featureStatsAnomaly_ = null;
+ featureStatsAnomaly_ = null;
+ if (featureStatsAnomalyBuilder_ != null) {
+ featureStatsAnomalyBuilder_.dispose();
featureStatsAnomalyBuilder_ = null;
}
return this;
@@ -1046,16 +1046,27 @@ public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly build() {
public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly buildPartial() {
com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly result =
new com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly(this);
- result.objective_ = objective_;
- if (featureStatsAnomalyBuilder_ == null) {
- result.featureStatsAnomaly_ = featureStatsAnomaly_;
- } else {
- result.featureStatsAnomaly_ = featureStatsAnomalyBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.objective_ = objective_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.featureStatsAnomaly_ =
+ featureStatsAnomalyBuilder_ == null
+ ? featureStatsAnomaly_
+ : featureStatsAnomalyBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1141,14 +1152,14 @@ public Builder mergeFrom(
case 8:
{
objective_ = input.readEnum();
-
+ bitField0_ |= 0x00000001;
break;
} // case 8
case 18:
{
input.readMessage(
getFeatureStatsAnomalyFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -1168,6 +1179,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private int objective_ = 0;
/**
*
@@ -1201,8 +1214,8 @@ public int getObjectiveValue() {
* @return This builder for chaining.
*/
public Builder setObjectiveValue(int value) {
-
objective_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1222,9 +1235,8 @@ public Builder setObjectiveValue(int value) {
@java.lang.Override
public com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective
getObjective() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective result =
- com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.valueOf(
+ com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.forNumber(
objective_);
return result == null
? com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective.UNRECOGNIZED
@@ -1249,7 +1261,7 @@ public Builder setObjective(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000001;
objective_ = value.getNumber();
onChanged();
return this;
@@ -1268,7 +1280,7 @@ public Builder setObjective(
* @return This builder for chaining.
*/
public Builder clearObjective() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
objective_ = 0;
onChanged();
return this;
@@ -1294,7 +1306,7 @@ public Builder clearObjective() {
* @return Whether the featureStatsAnomaly field is set.
*/
public boolean hasFeatureStatsAnomaly() {
- return featureStatsAnomalyBuilder_ != null || featureStatsAnomaly_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1336,11 +1348,11 @@ public Builder setFeatureStatsAnomaly(
throw new NullPointerException();
}
featureStatsAnomaly_ = value;
- onChanged();
} else {
featureStatsAnomalyBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1358,11 +1370,11 @@ public Builder setFeatureStatsAnomaly(
com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder builderForValue) {
if (featureStatsAnomalyBuilder_ == null) {
featureStatsAnomaly_ = builderForValue.build();
- onChanged();
} else {
featureStatsAnomalyBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1379,19 +1391,19 @@ public Builder setFeatureStatsAnomaly(
public Builder mergeFeatureStatsAnomaly(
com.google.cloud.aiplatform.v1.FeatureStatsAnomaly value) {
if (featureStatsAnomalyBuilder_ == null) {
- if (featureStatsAnomaly_ != null) {
- featureStatsAnomaly_ =
- com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.newBuilder(featureStatsAnomaly_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && featureStatsAnomaly_ != null
+ && featureStatsAnomaly_
+ != com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.getDefaultInstance()) {
+ getFeatureStatsAnomalyBuilder().mergeFrom(value);
} else {
featureStatsAnomaly_ = value;
}
- onChanged();
} else {
featureStatsAnomalyBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1406,14 +1418,13 @@ public Builder mergeFeatureStatsAnomaly(
*
*/
public Builder clearFeatureStatsAnomaly() {
- if (featureStatsAnomalyBuilder_ == null) {
- featureStatsAnomaly_ = null;
- onChanged();
- } else {
- featureStatsAnomaly_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ featureStatsAnomaly_ = null;
+ if (featureStatsAnomalyBuilder_ != null) {
+ featureStatsAnomalyBuilder_.dispose();
featureStatsAnomalyBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1429,7 +1440,7 @@ public Builder clearFeatureStatsAnomaly() {
*/
public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly.Builder
getFeatureStatsAnomalyBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getFeatureStatsAnomalyFieldBuilder().getBuilder();
}
@@ -1550,7 +1561,9 @@ public com.google.protobuf.Parser getParserForType() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -1611,7 +1624,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DESCRIPTION_FIELD_NUMBER = 2;
- private volatile java.lang.Object description_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
/**
*
*
@@ -1660,7 +1675,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() {
}
public static final int VALUE_TYPE_FIELD_NUMBER = 3;
- private int valueType_;
+ private int valueType_ = 0;
/**
*
*
@@ -1693,9 +1708,8 @@ public int getValueTypeValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Feature.ValueType getValueType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Feature.ValueType result =
- com.google.cloud.aiplatform.v1.Feature.ValueType.valueOf(valueType_);
+ com.google.cloud.aiplatform.v1.Feature.ValueType.forNumber(valueType_);
return result == null ? com.google.cloud.aiplatform.v1.Feature.ValueType.UNRECOGNIZED : result;
}
@@ -1745,7 +1759,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 5;
@@ -1794,7 +1808,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int LABELS_FIELD_NUMBER = 6;
@@ -1810,6 +1824,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -1891,7 +1906,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -1928,7 +1946,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public static final int ETAG_FIELD_NUMBER = 7;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -1979,7 +1999,7 @@ public com.google.protobuf.ByteString getEtagBytes() {
}
public static final int DISABLE_MONITORING_FIELD_NUMBER = 12;
- private boolean disableMonitoring_;
+ private boolean disableMonitoring_ = false;
/**
*
*
@@ -2002,6 +2022,8 @@ public boolean getDisableMonitoring() {
}
public static final int MONITORING_STATS_ANOMALIES_FIELD_NUMBER = 11;
+
+ @SuppressWarnings("serial")
private java.util.List
monitoringStatsAnomalies_;
/**
@@ -2405,36 +2427,30 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
description_ = "";
-
valueType_ = 0;
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
internalGetMutableLabels().clear();
etag_ = "";
-
disableMonitoring_ = false;
-
if (monitoringStatsAnomaliesBuilder_ == null) {
monitoringStatsAnomalies_ = java.util.Collections.emptyList();
} else {
monitoringStatsAnomalies_ = null;
monitoringStatsAnomaliesBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
@@ -2462,36 +2478,54 @@ public com.google.cloud.aiplatform.v1.Feature build() {
public com.google.cloud.aiplatform.v1.Feature buildPartial() {
com.google.cloud.aiplatform.v1.Feature result =
new com.google.cloud.aiplatform.v1.Feature(this);
- int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.description_ = description_;
- result.valueType_ = valueType_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
- }
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- result.etag_ = etag_;
- result.disableMonitoring_ = disableMonitoring_;
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.Feature result) {
if (monitoringStatsAnomaliesBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000100) != 0)) {
monitoringStatsAnomalies_ =
java.util.Collections.unmodifiableList(monitoringStatsAnomalies_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000100);
}
result.monitoringStatsAnomalies_ = monitoringStatsAnomalies_;
} else {
result.monitoringStatsAnomalies_ = monitoringStatsAnomaliesBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Feature result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.description_ = description_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.valueType_ = valueType_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.etag_ = etag_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.disableMonitoring_ = disableMonitoring_;
+ }
}
@java.lang.Override
@@ -2541,10 +2575,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Feature other) {
if (other == com.google.cloud.aiplatform.v1.Feature.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.valueType_ != 0) {
@@ -2557,8 +2593,10 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Feature other) {
mergeUpdateTime(other.getUpdateTime());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000020;
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000040;
onChanged();
}
if (other.getDisableMonitoring() != false) {
@@ -2568,7 +2606,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Feature other) {
if (!other.monitoringStatsAnomalies_.isEmpty()) {
if (monitoringStatsAnomalies_.isEmpty()) {
monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureMonitoringStatsAnomaliesIsMutable();
monitoringStatsAnomalies_.addAll(other.monitoringStatsAnomalies_);
@@ -2581,7 +2619,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Feature other) {
monitoringStatsAnomaliesBuilder_.dispose();
monitoringStatsAnomaliesBuilder_ = null;
monitoringStatsAnomalies_ = other.monitoringStatsAnomalies_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000100);
monitoringStatsAnomaliesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getMonitoringStatsAnomaliesFieldBuilder()
@@ -2620,31 +2658,31 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
description_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 24:
{
valueType_ = input.readEnum();
-
+ bitField0_ |= 0x00000004;
break;
} // case 24
case 34:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
case 42:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000010;
break;
} // case 42
case 50:
@@ -2656,12 +2694,13 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000020;
break;
} // case 50
case 58:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000040;
break;
} // case 58
case 90:
@@ -2681,7 +2720,7 @@ public Builder mergeFrom(
case 96:
{
disableMonitoring_ = input.readBool();
-
+ bitField0_ |= 0x00000080;
break;
} // case 96
default:
@@ -2782,8 +2821,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2805,8 +2844,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -2833,8 +2872,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2900,8 +2939,8 @@ public Builder setDescription(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
description_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -2917,8 +2956,8 @@ public Builder setDescription(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDescription() {
-
description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -2939,8 +2978,8 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
description_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -2978,8 +3017,8 @@ public int getValueTypeValue() {
* @return This builder for chaining.
*/
public Builder setValueTypeValue(int value) {
-
valueType_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -2998,9 +3037,8 @@ public Builder setValueTypeValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Feature.ValueType getValueType() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Feature.ValueType result =
- com.google.cloud.aiplatform.v1.Feature.ValueType.valueOf(valueType_);
+ com.google.cloud.aiplatform.v1.Feature.ValueType.forNumber(valueType_);
return result == null
? com.google.cloud.aiplatform.v1.Feature.ValueType.UNRECOGNIZED
: result;
@@ -3023,7 +3061,7 @@ public Builder setValueType(com.google.cloud.aiplatform.v1.Feature.ValueType val
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000004;
valueType_ = value.getNumber();
onChanged();
return this;
@@ -3042,7 +3080,7 @@ public Builder setValueType(com.google.cloud.aiplatform.v1.Feature.ValueType val
* @return This builder for chaining.
*/
public Builder clearValueType() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
valueType_ = 0;
onChanged();
return this;
@@ -3068,7 +3106,7 @@ public Builder clearValueType() {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -3109,11 +3147,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -3130,11 +3168,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -3150,17 +3188,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000008) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -3175,14 +3214,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3197,7 +3235,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -3269,7 +3307,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
*
@@ -3310,11 +3348,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -3331,11 +3369,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -3351,17 +3389,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000010) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000010;
+ onChanged();
return this;
}
/**
@@ -3376,14 +3415,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000010);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3398,7 +3436,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000010;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -3461,14 +3499,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000020;
+ onChanged();
return labels_;
}
@@ -3544,8 +3582,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -3582,6 +3622,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000020);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -3612,6 +3653,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000020;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -3638,8 +3680,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000020;
return this;
}
/**
@@ -3661,6 +3703,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000020;
return this;
}
@@ -3728,8 +3771,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -3746,8 +3789,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
@@ -3769,8 +3812,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -3816,6 +3859,7 @@ public boolean getDisableMonitoring() {
public Builder setDisableMonitoring(boolean value) {
disableMonitoring_ = value;
+ bitField0_ |= 0x00000080;
onChanged();
return this;
}
@@ -3836,7 +3880,7 @@ public Builder setDisableMonitoring(boolean value) {
* @return This builder for chaining.
*/
public Builder clearDisableMonitoring() {
-
+ bitField0_ = (bitField0_ & ~0x00000080);
disableMonitoring_ = false;
onChanged();
return this;
@@ -3846,11 +3890,11 @@ public Builder clearDisableMonitoring() {
monitoringStatsAnomalies_ = java.util.Collections.emptyList();
private void ensureMonitoringStatsAnomaliesIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000100) != 0)) {
monitoringStatsAnomalies_ =
new java.util.ArrayList(
monitoringStatsAnomalies_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000100;
}
}
@@ -4107,7 +4151,7 @@ public Builder addAllMonitoringStatsAnomalies(
public Builder clearMonitoringStatsAnomalies() {
if (monitoringStatsAnomaliesBuilder_ == null) {
monitoringStatsAnomalies_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
} else {
monitoringStatsAnomaliesBuilder_.clear();
@@ -4259,7 +4303,7 @@ public Builder removeMonitoringStatsAnomalies(int index) {
com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Builder,
com.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyOrBuilder>(
monitoringStatsAnomalies_,
- ((bitField0_ & 0x00000002) != 0),
+ ((bitField0_ & 0x00000100) != 0),
getParentForChildren(),
isClean());
monitoringStatsAnomalies_ = null;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureNoiseSigma.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureNoiseSigma.java
index 31ed7fce2f47..f7f8a3cc88e5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureNoiseSigma.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureNoiseSigma.java
@@ -171,7 +171,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -226,7 +228,7 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int SIGMA_FIELD_NUMBER = 2;
- private float sigma_;
+ private float sigma_ = 0F;
/**
*
*
@@ -459,10 +461,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
sigma_ = 0F;
-
return this;
}
@@ -493,12 +494,24 @@ public com.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature bui
public com.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature buildPartial() {
com.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature result =
new com.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature(this);
- result.name_ = name_;
- result.sigma_ = sigma_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.sigma_ = sigma_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -553,6 +566,7 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.getSigma() != 0F) {
@@ -587,13 +601,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 21:
{
sigma_ = input.readFloat();
-
+ bitField0_ |= 0x00000002;
break;
} // case 21
default:
@@ -613,6 +627,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -683,8 +699,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -703,8 +719,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -728,8 +744,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -771,6 +787,7 @@ public float getSigma() {
public Builder setSigma(float value) {
sigma_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -789,7 +806,7 @@ public Builder setSigma(float value) {
* @return This builder for chaining.
*/
public Builder clearSigma() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
sigma_ = 0F;
onChanged();
return this;
@@ -864,6 +881,8 @@ public com.google.protobuf.Parser getParserForType() {
}
public static final int NOISE_SIGMA_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List
noiseSigma_;
/**
@@ -1148,6 +1167,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (noiseSigmaBuilder_ == null) {
noiseSigma_ = java.util.Collections.emptyList();
} else {
@@ -1182,7 +1202,16 @@ public com.google.cloud.aiplatform.v1.FeatureNoiseSigma build() {
public com.google.cloud.aiplatform.v1.FeatureNoiseSigma buildPartial() {
com.google.cloud.aiplatform.v1.FeatureNoiseSigma result =
new com.google.cloud.aiplatform.v1.FeatureNoiseSigma(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.FeatureNoiseSigma result) {
if (noiseSigmaBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
noiseSigma_ = java.util.Collections.unmodifiableList(noiseSigma_);
@@ -1192,8 +1221,10 @@ public com.google.cloud.aiplatform.v1.FeatureNoiseSigma buildPartial() {
} else {
result.noiseSigma_ = noiseSigmaBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureNoiseSigma result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java
index 58dbfc137396..1d7eadb12605 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureOrBuilder.java
@@ -264,7 +264,6 @@ public interface FeatureOrBuilder
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelector.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelector.java
index 5ba53e1fdb12..3aff422d3870 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelector.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureSelector.java
@@ -116,7 +116,9 @@ public com.google.cloud.aiplatform.v1.IdMatcher getIdMatcher() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.IdMatcherOrBuilder getIdMatcherOrBuilder() {
- return getIdMatcher();
+ return idMatcher_ == null
+ ? com.google.cloud.aiplatform.v1.IdMatcher.getDefaultInstance()
+ : idMatcher_;
}
private byte memoizedIsInitialized = -1;
@@ -321,10 +323,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (idMatcherBuilder_ == null) {
- idMatcher_ = null;
- } else {
- idMatcher_ = null;
+ bitField0_ = 0;
+ idMatcher_ = null;
+ if (idMatcherBuilder_ != null) {
+ idMatcherBuilder_.dispose();
idMatcherBuilder_ = null;
}
return this;
@@ -354,15 +356,20 @@ public com.google.cloud.aiplatform.v1.FeatureSelector build() {
public com.google.cloud.aiplatform.v1.FeatureSelector buildPartial() {
com.google.cloud.aiplatform.v1.FeatureSelector result =
new com.google.cloud.aiplatform.v1.FeatureSelector(this);
- if (idMatcherBuilder_ == null) {
- result.idMatcher_ = idMatcher_;
- } else {
- result.idMatcher_ = idMatcherBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureSelector result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.idMatcher_ = idMatcherBuilder_ == null ? idMatcher_ : idMatcherBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -440,7 +447,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getIdMatcherFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -460,6 +467,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.IdMatcher idMatcher_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.IdMatcher,
@@ -480,7 +489,7 @@ public Builder mergeFrom(
* @return Whether the idMatcher field is set.
*/
public boolean hasIdMatcher() {
- return idMatcherBuilder_ != null || idMatcher_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -521,11 +530,11 @@ public Builder setIdMatcher(com.google.cloud.aiplatform.v1.IdMatcher value) {
throw new NullPointerException();
}
idMatcher_ = value;
- onChanged();
} else {
idMatcherBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -542,11 +551,11 @@ public Builder setIdMatcher(com.google.cloud.aiplatform.v1.IdMatcher value) {
public Builder setIdMatcher(com.google.cloud.aiplatform.v1.IdMatcher.Builder builderForValue) {
if (idMatcherBuilder_ == null) {
idMatcher_ = builderForValue.build();
- onChanged();
} else {
idMatcherBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -562,19 +571,18 @@ public Builder setIdMatcher(com.google.cloud.aiplatform.v1.IdMatcher.Builder bui
*/
public Builder mergeIdMatcher(com.google.cloud.aiplatform.v1.IdMatcher value) {
if (idMatcherBuilder_ == null) {
- if (idMatcher_ != null) {
- idMatcher_ =
- com.google.cloud.aiplatform.v1.IdMatcher.newBuilder(idMatcher_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && idMatcher_ != null
+ && idMatcher_ != com.google.cloud.aiplatform.v1.IdMatcher.getDefaultInstance()) {
+ getIdMatcherBuilder().mergeFrom(value);
} else {
idMatcher_ = value;
}
- onChanged();
} else {
idMatcherBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -589,14 +597,13 @@ public Builder mergeIdMatcher(com.google.cloud.aiplatform.v1.IdMatcher value) {
*
*/
public Builder clearIdMatcher() {
- if (idMatcherBuilder_ == null) {
- idMatcher_ = null;
- onChanged();
- } else {
- idMatcher_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ idMatcher_ = null;
+ if (idMatcherBuilder_ != null) {
+ idMatcherBuilder_.dispose();
idMatcherBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -611,7 +618,7 @@ public Builder clearIdMatcher() {
*
*/
public com.google.cloud.aiplatform.v1.IdMatcher.Builder getIdMatcherBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getIdMatcherFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureStatsAnomaly.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureStatsAnomaly.java
index 21b17c2fbe7c..9a30ce681458 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureStatsAnomaly.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureStatsAnomaly.java
@@ -77,7 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int SCORE_FIELD_NUMBER = 1;
- private double score_;
+ private double score_ = 0D;
/**
*
*
@@ -100,7 +100,9 @@ public double getScore() {
}
public static final int STATS_URI_FIELD_NUMBER = 3;
- private volatile java.lang.Object statsUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object statsUri_ = "";
/**
*
*
@@ -157,7 +159,9 @@ public com.google.protobuf.ByteString getStatsUriBytes() {
}
public static final int ANOMALY_URI_FIELD_NUMBER = 4;
- private volatile java.lang.Object anomalyUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object anomalyUri_ = "";
/**
*
*
@@ -220,7 +224,7 @@ public com.google.protobuf.ByteString getAnomalyUriBytes() {
}
public static final int DISTRIBUTION_DEVIATION_FIELD_NUMBER = 5;
- private double distributionDeviation_;
+ private double distributionDeviation_ = 0D;
/**
*
*
@@ -242,7 +246,7 @@ public double getDistributionDeviation() {
}
public static final int ANOMALY_DETECTION_THRESHOLD_FIELD_NUMBER = 9;
- private double anomalyDetectionThreshold_;
+ private double anomalyDetectionThreshold_ = 0D;
/**
*
*
@@ -313,7 +317,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
- return getStartTime();
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
public static final int END_TIME_FIELD_NUMBER = 8;
@@ -368,7 +372,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
- return getEndTime();
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
private byte memoizedIsInitialized = -1;
@@ -652,26 +656,20 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
score_ = 0D;
-
statsUri_ = "";
-
anomalyUri_ = "";
-
distributionDeviation_ = 0D;
-
anomalyDetectionThreshold_ = 0D;
-
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- } else {
- startTime_ = null;
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
- if (endTimeBuilder_ == null) {
- endTime_ = null;
- } else {
- endTime_ = null;
+ endTime_ = null;
+ if (endTimeBuilder_ != null) {
+ endTimeBuilder_.dispose();
endTimeBuilder_ = null;
}
return this;
@@ -701,25 +699,38 @@ public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly build() {
public com.google.cloud.aiplatform.v1.FeatureStatsAnomaly buildPartial() {
com.google.cloud.aiplatform.v1.FeatureStatsAnomaly result =
new com.google.cloud.aiplatform.v1.FeatureStatsAnomaly(this);
- result.score_ = score_;
- result.statsUri_ = statsUri_;
- result.anomalyUri_ = anomalyUri_;
- result.distributionDeviation_ = distributionDeviation_;
- result.anomalyDetectionThreshold_ = anomalyDetectionThreshold_;
- if (startTimeBuilder_ == null) {
- result.startTime_ = startTime_;
- } else {
- result.startTime_ = startTimeBuilder_.build();
- }
- if (endTimeBuilder_ == null) {
- result.endTime_ = endTime_;
- } else {
- result.endTime_ = endTimeBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureStatsAnomaly result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.score_ = score_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.statsUri_ = statsUri_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.anomalyUri_ = anomalyUri_;
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.distributionDeviation_ = distributionDeviation_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.anomalyDetectionThreshold_ = anomalyDetectionThreshold_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -771,10 +782,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.FeatureStatsAnomaly othe
}
if (!other.getStatsUri().isEmpty()) {
statsUri_ = other.statsUri_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getAnomalyUri().isEmpty()) {
anomalyUri_ = other.anomalyUri_;
+ bitField0_ |= 0x00000004;
onChanged();
}
if (other.getDistributionDeviation() != 0D) {
@@ -818,43 +831,43 @@ public Builder mergeFrom(
case 9:
{
score_ = input.readDouble();
-
+ bitField0_ |= 0x00000001;
break;
} // case 9
case 26:
{
statsUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 26
case 34:
{
anomalyUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 34
case 41:
{
distributionDeviation_ = input.readDouble();
-
+ bitField0_ |= 0x00000008;
break;
} // case 41
case 58:
{
input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000020;
break;
} // case 58
case 66:
{
input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 66
case 73:
{
anomalyDetectionThreshold_ = input.readDouble();
-
+ bitField0_ |= 0x00000010;
break;
} // case 73
default:
@@ -874,6 +887,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private double score_;
/**
*
@@ -915,6 +930,7 @@ public double getScore() {
public Builder setScore(double value) {
score_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -935,7 +951,7 @@ public Builder setScore(double value) {
* @return This builder for chaining.
*/
public Builder clearScore() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
score_ = 0D;
onChanged();
return this;
@@ -1014,8 +1030,8 @@ public Builder setStatsUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
statsUri_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1035,8 +1051,8 @@ public Builder setStatsUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearStatsUri() {
-
statsUri_ = getDefaultInstance().getStatsUri();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1061,8 +1077,8 @@ public Builder setStatsUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
statsUri_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1149,8 +1165,8 @@ public Builder setAnomalyUri(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
anomalyUri_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1173,8 +1189,8 @@ public Builder setAnomalyUri(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearAnomalyUri() {
-
anomalyUri_ = getDefaultInstance().getAnomalyUri();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -1202,8 +1218,8 @@ public Builder setAnomalyUriBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
anomalyUri_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1247,6 +1263,7 @@ public double getDistributionDeviation() {
public Builder setDistributionDeviation(double value) {
distributionDeviation_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1266,7 +1283,7 @@ public Builder setDistributionDeviation(double value) {
* @return This builder for chaining.
*/
public Builder clearDistributionDeviation() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
distributionDeviation_ = 0D;
onChanged();
return this;
@@ -1307,6 +1324,7 @@ public double getAnomalyDetectionThreshold() {
public Builder setAnomalyDetectionThreshold(double value) {
anomalyDetectionThreshold_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -1324,7 +1342,7 @@ public Builder setAnomalyDetectionThreshold(double value) {
* @return This builder for chaining.
*/
public Builder clearAnomalyDetectionThreshold() {
-
+ bitField0_ = (bitField0_ & ~0x00000010);
anomalyDetectionThreshold_ = 0D;
onChanged();
return this;
@@ -1351,7 +1369,7 @@ public Builder clearAnomalyDetectionThreshold() {
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return startTimeBuilder_ != null || startTime_ != null;
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -1392,11 +1410,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
startTime_ = value;
- onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -1414,11 +1432,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
- onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -1435,17 +1453,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
- if (startTime_ != null) {
- startTime_ =
- com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000020) != 0)
+ && startTime_ != null
+ && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getStartTimeBuilder().mergeFrom(value);
} else {
startTime_ = value;
}
- onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -1461,14 +1480,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp start_time = 7;
*/
public Builder clearStartTime() {
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- onChanged();
- } else {
- startTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1484,7 +1502,7 @@ public Builder clearStartTime() {
* .google.protobuf.Timestamp start_time = 7;
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+ bitField0_ |= 0x00000020;
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
@@ -1557,7 +1575,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
- return endTimeBuilder_ != null || endTime_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -1598,11 +1616,11 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
endTime_ = value;
- onChanged();
} else {
endTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -1620,11 +1638,11 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
- onChanged();
} else {
endTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -1641,17 +1659,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
*/
public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
- if (endTime_ != null) {
- endTime_ =
- com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && endTime_ != null
+ && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getEndTimeBuilder().mergeFrom(value);
} else {
endTime_ = value;
}
- onChanged();
} else {
endTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -1667,14 +1686,13 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp end_time = 8;
*/
public Builder clearEndTime() {
- if (endTimeBuilder_ == null) {
- endTime_ = null;
- onChanged();
- } else {
- endTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ endTime_ = null;
+ if (endTimeBuilder_ != null) {
+ endTimeBuilder_.dispose();
endTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1690,7 +1708,7 @@ public Builder clearEndTime() {
* .google.protobuf.Timestamp end_time = 8;
*/
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValue.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValue.java
index 6c4e5e105682..b0f59e9cbd2e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValue.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValue.java
@@ -227,7 +227,9 @@ public com.google.protobuf.Timestamp getGenerateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getGenerateTimeOrBuilder() {
- return getGenerateTime();
+ return generateTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : generateTime_;
}
private byte memoizedIsInitialized = -1;
@@ -435,10 +437,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (generateTimeBuilder_ == null) {
- generateTime_ = null;
- } else {
- generateTime_ = null;
+ bitField0_ = 0;
+ generateTime_ = null;
+ if (generateTimeBuilder_ != null) {
+ generateTimeBuilder_.dispose();
generateTimeBuilder_ = null;
}
return this;
@@ -468,15 +470,21 @@ public com.google.cloud.aiplatform.v1.FeatureValue.Metadata build() {
public com.google.cloud.aiplatform.v1.FeatureValue.Metadata buildPartial() {
com.google.cloud.aiplatform.v1.FeatureValue.Metadata result =
new com.google.cloud.aiplatform.v1.FeatureValue.Metadata(this);
- if (generateTimeBuilder_ == null) {
- result.generateTime_ = generateTime_;
- } else {
- result.generateTime_ = generateTimeBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureValue.Metadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.generateTime_ =
+ generateTimeBuilder_ == null ? generateTime_ : generateTimeBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -557,7 +565,7 @@ public Builder mergeFrom(
case 10:
{
input.readMessage(getGenerateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -577,6 +585,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.Timestamp generateTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -600,7 +610,7 @@ public Builder mergeFrom(
* @return Whether the generateTime field is set.
*/
public boolean hasGenerateTime() {
- return generateTimeBuilder_ != null || generateTime_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -647,11 +657,11 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
generateTime_ = value;
- onChanged();
} else {
generateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -671,11 +681,11 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp value) {
public Builder setGenerateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (generateTimeBuilder_ == null) {
generateTime_ = builderForValue.build();
- onChanged();
} else {
generateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -694,19 +704,18 @@ public Builder setGenerateTime(com.google.protobuf.Timestamp.Builder builderForV
*/
public Builder mergeGenerateTime(com.google.protobuf.Timestamp value) {
if (generateTimeBuilder_ == null) {
- if (generateTime_ != null) {
- generateTime_ =
- com.google.protobuf.Timestamp.newBuilder(generateTime_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && generateTime_ != null
+ && generateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getGenerateTimeBuilder().mergeFrom(value);
} else {
generateTime_ = value;
}
- onChanged();
} else {
generateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -724,14 +733,13 @@ public Builder mergeGenerateTime(com.google.protobuf.Timestamp value) {
* .google.protobuf.Timestamp generate_time = 1;
*/
public Builder clearGenerateTime() {
- if (generateTimeBuilder_ == null) {
- generateTime_ = null;
- onChanged();
- } else {
- generateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ generateTime_ = null;
+ if (generateTimeBuilder_ != null) {
+ generateTimeBuilder_.dispose();
generateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -749,7 +757,7 @@ public Builder clearGenerateTime() {
* .google.protobuf.Timestamp generate_time = 1;
*/
public com.google.protobuf.Timestamp.Builder getGenerateTimeBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getGenerateTimeFieldBuilder().getBuilder();
}
@@ -1398,7 +1406,9 @@ public com.google.cloud.aiplatform.v1.FeatureValue.Metadata getMetadata() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeatureValue.MetadataOrBuilder getMetadataOrBuilder() {
- return getMetadata();
+ return metadata_ == null
+ ? com.google.cloud.aiplatform.v1.FeatureValue.Metadata.getDefaultInstance()
+ : metadata_;
}
private byte memoizedIsInitialized = -1;
@@ -1749,6 +1759,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (boolArrayValueBuilder_ != null) {
boolArrayValueBuilder_.clear();
}
@@ -1761,10 +1772,9 @@ public Builder clear() {
if (stringArrayValueBuilder_ != null) {
stringArrayValueBuilder_.clear();
}
- if (metadataBuilder_ == null) {
- metadata_ = null;
- } else {
- metadata_ = null;
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
valueCase_ = 0;
@@ -1796,57 +1806,36 @@ public com.google.cloud.aiplatform.v1.FeatureValue build() {
public com.google.cloud.aiplatform.v1.FeatureValue buildPartial() {
com.google.cloud.aiplatform.v1.FeatureValue result =
new com.google.cloud.aiplatform.v1.FeatureValue(this);
- if (valueCase_ == 1) {
- result.value_ = value_;
- }
- if (valueCase_ == 2) {
- result.value_ = value_;
- }
- if (valueCase_ == 5) {
- result.value_ = value_;
- }
- if (valueCase_ == 6) {
- result.value_ = value_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- if (valueCase_ == 7) {
- if (boolArrayValueBuilder_ == null) {
- result.value_ = value_;
- } else {
- result.value_ = boolArrayValueBuilder_.build();
- }
- }
- if (valueCase_ == 8) {
- if (doubleArrayValueBuilder_ == null) {
- result.value_ = value_;
- } else {
- result.value_ = doubleArrayValueBuilder_.build();
- }
+ buildPartialOneofs(result);
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureValue result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.metadata_ = metadataBuilder_ == null ? metadata_ : metadataBuilder_.build();
}
- if (valueCase_ == 11) {
- if (int64ArrayValueBuilder_ == null) {
- result.value_ = value_;
- } else {
- result.value_ = int64ArrayValueBuilder_.build();
- }
+ }
+
+ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.FeatureValue result) {
+ result.valueCase_ = valueCase_;
+ result.value_ = this.value_;
+ if (valueCase_ == 7 && boolArrayValueBuilder_ != null) {
+ result.value_ = boolArrayValueBuilder_.build();
}
- if (valueCase_ == 12) {
- if (stringArrayValueBuilder_ == null) {
- result.value_ = value_;
- } else {
- result.value_ = stringArrayValueBuilder_.build();
- }
+ if (valueCase_ == 8 && doubleArrayValueBuilder_ != null) {
+ result.value_ = doubleArrayValueBuilder_.build();
}
- if (valueCase_ == 13) {
- result.value_ = value_;
+ if (valueCase_ == 11 && int64ArrayValueBuilder_ != null) {
+ result.value_ = int64ArrayValueBuilder_.build();
}
- if (metadataBuilder_ == null) {
- result.metadata_ = metadata_;
- } else {
- result.metadata_ = metadataBuilder_.build();
+ if (valueCase_ == 12 && stringArrayValueBuilder_ != null) {
+ result.value_ = stringArrayValueBuilder_.build();
}
- result.valueCase_ = valueCase_;
- onBuilt();
- return result;
}
@java.lang.Override
@@ -2036,7 +2025,7 @@ public Builder mergeFrom(
case 114:
{
input.readMessage(getMetadataFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000200;
break;
} // case 114
default:
@@ -2070,6 +2059,8 @@ public Builder clearValue() {
return this;
}
+ private int bitField0_;
+
/**
*
*
@@ -2114,6 +2105,7 @@ public boolean getBoolValue() {
* @return This builder for chaining.
*/
public Builder setBoolValue(boolean value) {
+
valueCase_ = 1;
value_ = value;
onChanged();
@@ -2183,6 +2175,7 @@ public double getDoubleValue() {
* @return This builder for chaining.
*/
public Builder setDoubleValue(double value) {
+
valueCase_ = 2;
value_ = value;
onChanged();
@@ -2252,6 +2245,7 @@ public long getInt64Value() {
* @return This builder for chaining.
*/
public Builder setInt64Value(long value) {
+
valueCase_ = 5;
value_ = value;
onChanged();
@@ -2617,7 +2611,6 @@ public com.google.cloud.aiplatform.v1.BoolArrayOrBuilder getBoolArrayValueOrBuil
}
valueCase_ = 7;
onChanged();
- ;
return boolArrayValueBuilder_;
}
@@ -2827,7 +2820,6 @@ public com.google.cloud.aiplatform.v1.DoubleArrayOrBuilder getDoubleArrayValueOr
}
valueCase_ = 8;
onChanged();
- ;
return doubleArrayValueBuilder_;
}
@@ -3037,7 +3029,6 @@ public com.google.cloud.aiplatform.v1.Int64ArrayOrBuilder getInt64ArrayValueOrBu
}
valueCase_ = 11;
onChanged();
- ;
return int64ArrayValueBuilder_;
}
@@ -3247,7 +3238,6 @@ public com.google.cloud.aiplatform.v1.StringArrayOrBuilder getStringArrayValueOr
}
valueCase_ = 12;
onChanged();
- ;
return stringArrayValueBuilder_;
}
@@ -3341,7 +3331,7 @@ public Builder clearBytesValue() {
* @return Whether the metadata field is set.
*/
public boolean hasMetadata() {
- return metadataBuilder_ != null || metadata_ != null;
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
*
@@ -3378,11 +3368,11 @@ public Builder setMetadata(com.google.cloud.aiplatform.v1.FeatureValue.Metadata
throw new NullPointerException();
}
metadata_ = value;
- onChanged();
} else {
metadataBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3398,11 +3388,11 @@ public Builder setMetadata(
com.google.cloud.aiplatform.v1.FeatureValue.Metadata.Builder builderForValue) {
if (metadataBuilder_ == null) {
metadata_ = builderForValue.build();
- onChanged();
} else {
metadataBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3416,19 +3406,19 @@ public Builder setMetadata(
*/
public Builder mergeMetadata(com.google.cloud.aiplatform.v1.FeatureValue.Metadata value) {
if (metadataBuilder_ == null) {
- if (metadata_ != null) {
- metadata_ =
- com.google.cloud.aiplatform.v1.FeatureValue.Metadata.newBuilder(metadata_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000200) != 0)
+ && metadata_ != null
+ && metadata_
+ != com.google.cloud.aiplatform.v1.FeatureValue.Metadata.getDefaultInstance()) {
+ getMetadataBuilder().mergeFrom(value);
} else {
metadata_ = value;
}
- onChanged();
} else {
metadataBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3441,14 +3431,13 @@ public Builder mergeMetadata(com.google.cloud.aiplatform.v1.FeatureValue.Metadat
* .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
*/
public Builder clearMetadata() {
- if (metadataBuilder_ == null) {
- metadata_ = null;
- onChanged();
- } else {
- metadata_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ metadata_ = null;
+ if (metadataBuilder_ != null) {
+ metadataBuilder_.dispose();
metadataBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3461,7 +3450,7 @@ public Builder clearMetadata() {
* .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14;
*/
public com.google.cloud.aiplatform.v1.FeatureValue.Metadata.Builder getMetadataBuilder() {
-
+ bitField0_ |= 0x00000200;
onChanged();
return getMetadataFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueDestination.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueDestination.java
index 6e9ad56ec028..0b3ffc345bf7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueDestination.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueDestination.java
@@ -552,6 +552,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (bigqueryDestinationBuilder_ != null) {
bigqueryDestinationBuilder_.clear();
}
@@ -590,32 +591,32 @@ public com.google.cloud.aiplatform.v1.FeatureValueDestination build() {
public com.google.cloud.aiplatform.v1.FeatureValueDestination buildPartial() {
com.google.cloud.aiplatform.v1.FeatureValueDestination result =
new com.google.cloud.aiplatform.v1.FeatureValueDestination(this);
- if (destinationCase_ == 1) {
- if (bigqueryDestinationBuilder_ == null) {
- result.destination_ = destination_;
- } else {
- result.destination_ = bigqueryDestinationBuilder_.build();
- }
- }
- if (destinationCase_ == 2) {
- if (tfrecordDestinationBuilder_ == null) {
- result.destination_ = destination_;
- } else {
- result.destination_ = tfrecordDestinationBuilder_.build();
- }
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- if (destinationCase_ == 3) {
- if (csvDestinationBuilder_ == null) {
- result.destination_ = destination_;
- } else {
- result.destination_ = csvDestinationBuilder_.build();
- }
- }
- result.destinationCase_ = destinationCase_;
+ buildPartialOneofs(result);
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureValueDestination result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.FeatureValueDestination result) {
+ result.destinationCase_ = destinationCase_;
+ result.destination_ = this.destination_;
+ if (destinationCase_ == 1 && bigqueryDestinationBuilder_ != null) {
+ result.destination_ = bigqueryDestinationBuilder_.build();
+ }
+ if (destinationCase_ == 2 && tfrecordDestinationBuilder_ != null) {
+ result.destination_ = tfrecordDestinationBuilder_.build();
+ }
+ if (destinationCase_ == 3 && csvDestinationBuilder_ != null) {
+ result.destination_ = csvDestinationBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -760,6 +761,8 @@ public Builder clearDestination() {
return this;
}
+ private int bitField0_;
+
private com.google.protobuf.SingleFieldBuilderV3<
com.google.cloud.aiplatform.v1.BigQueryDestination,
com.google.cloud.aiplatform.v1.BigQueryDestination.Builder,
@@ -1007,7 +1010,6 @@ public Builder clearBigqueryDestination() {
}
destinationCase_ = 1;
onChanged();
- ;
return bigqueryDestinationBuilder_;
}
@@ -1294,7 +1296,6 @@ public Builder clearTfrecordDestination() {
}
destinationCase_ = 2;
onChanged();
- ;
return tfrecordDestinationBuilder_;
}
@@ -1513,7 +1514,6 @@ public com.google.cloud.aiplatform.v1.CsvDestinationOrBuilder getCsvDestinationO
}
destinationCase_ = 3;
onChanged();
- ;
return csvDestinationBuilder_;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueList.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueList.java
index 0bc0e3c7f818..58b81fe531c1 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueList.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeatureValueList.java
@@ -68,6 +68,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int VALUES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List values_;
/**
*
@@ -335,6 +337,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (valuesBuilder_ == null) {
values_ = java.util.Collections.emptyList();
} else {
@@ -369,7 +372,16 @@ public com.google.cloud.aiplatform.v1.FeatureValueList build() {
public com.google.cloud.aiplatform.v1.FeatureValueList buildPartial() {
com.google.cloud.aiplatform.v1.FeatureValueList result =
new com.google.cloud.aiplatform.v1.FeatureValueList(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.FeatureValueList result) {
if (valuesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
values_ = java.util.Collections.unmodifiableList(values_);
@@ -379,8 +391,10 @@ public com.google.cloud.aiplatform.v1.FeatureValueList buildPartial() {
} else {
result.values_ = valuesBuilder_.build();
}
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeatureValueList result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Featurestore.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Featurestore.java
index e8316c2bbae9..ea5f1ea0c657 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Featurestore.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/Featurestore.java
@@ -459,7 +459,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int MIN_NODE_COUNT_FIELD_NUMBER = 1;
- private int minNodeCount_;
+ private int minNodeCount_ = 0;
/**
*
*
@@ -478,7 +478,7 @@ public int getMinNodeCount() {
}
public static final int MAX_NODE_COUNT_FIELD_NUMBER = 2;
- private int maxNodeCount_;
+ private int maxNodeCount_ = 0;
/**
*
*
@@ -718,10 +718,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
minNodeCount_ = 0;
-
maxNodeCount_ = 0;
-
return this;
}
@@ -753,12 +752,24 @@ public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling b
buildPartial() {
com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling result =
new com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling(this);
- result.minNodeCount_ = minNodeCount_;
- result.maxNodeCount_ = maxNodeCount_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.minNodeCount_ = minNodeCount_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.maxNodeCount_ = maxNodeCount_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -846,13 +857,13 @@ public Builder mergeFrom(
case 8:
{
minNodeCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
maxNodeCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -872,6 +883,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private int minNodeCount_;
/**
*
@@ -905,6 +918,7 @@ public int getMinNodeCount() {
public Builder setMinNodeCount(int value) {
minNodeCount_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -921,7 +935,7 @@ public Builder setMinNodeCount(int value) {
* @return This builder for chaining.
*/
public Builder clearMinNodeCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
minNodeCount_ = 0;
onChanged();
return this;
@@ -960,6 +974,7 @@ public int getMaxNodeCount() {
public Builder setMaxNodeCount(int value) {
maxNodeCount_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -976,7 +991,7 @@ public Builder setMaxNodeCount(int value) {
* @return This builder for chaining.
*/
public Builder clearMaxNodeCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
maxNodeCount_ = 0;
onChanged();
return this;
@@ -1051,7 +1066,7 @@ public com.google.protobuf.Parser getParserForType() {
}
public static final int FIXED_NODE_COUNT_FIELD_NUMBER = 2;
- private int fixedNodeCount_;
+ private int fixedNodeCount_ = 0;
/**
*
*
@@ -1127,7 +1142,10 @@ public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling g
@java.lang.Override
public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.ScalingOrBuilder
getScalingOrBuilder() {
- return getScaling();
+ return scaling_ == null
+ ? com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling
+ .getDefaultInstance()
+ : scaling_;
}
private byte memoizedIsInitialized = -1;
@@ -1347,12 +1365,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
fixedNodeCount_ = 0;
-
- if (scalingBuilder_ == null) {
- scaling_ = null;
- } else {
- scaling_ = null;
+ scaling_ = null;
+ if (scalingBuilder_ != null) {
+ scalingBuilder_.dispose();
scalingBuilder_ = null;
}
return this;
@@ -1383,16 +1400,24 @@ public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig build() {
public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig buildPartial() {
com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig result =
new com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig(this);
- result.fixedNodeCount_ = fixedNodeCount_;
- if (scalingBuilder_ == null) {
- result.scaling_ = scaling_;
- } else {
- result.scaling_ = scalingBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.fixedNodeCount_ = fixedNodeCount_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.scaling_ = scalingBuilder_ == null ? scaling_ : scalingBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1478,13 +1503,13 @@ public Builder mergeFrom(
case 16:
{
fixedNodeCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000001;
break;
} // case 16
case 34:
{
input.readMessage(getScalingFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 34
default:
@@ -1504,6 +1529,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private int fixedNodeCount_;
/**
*
@@ -1541,6 +1568,7 @@ public int getFixedNodeCount() {
public Builder setFixedNodeCount(int value) {
fixedNodeCount_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1559,7 +1587,7 @@ public Builder setFixedNodeCount(int value) {
* @return This builder for chaining.
*/
public Builder clearFixedNodeCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
fixedNodeCount_ = 0;
onChanged();
return this;
@@ -1586,7 +1614,7 @@ public Builder clearFixedNodeCount() {
* @return Whether the scaling field is set.
*/
public boolean hasScaling() {
- return scalingBuilder_ != null || scaling_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1631,11 +1659,11 @@ public Builder setScaling(
throw new NullPointerException();
}
scaling_ = value;
- onChanged();
} else {
scalingBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1655,11 +1683,11 @@ public Builder setScaling(
builderForValue) {
if (scalingBuilder_ == null) {
scaling_ = builderForValue.build();
- onChanged();
} else {
scalingBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1677,20 +1705,20 @@ public Builder setScaling(
public Builder mergeScaling(
com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling value) {
if (scalingBuilder_ == null) {
- if (scaling_ != null) {
- scaling_ =
- com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling.newBuilder(
- scaling_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && scaling_ != null
+ && scaling_
+ != com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling
+ .getDefaultInstance()) {
+ getScalingBuilder().mergeFrom(value);
} else {
scaling_ = value;
}
- onChanged();
} else {
scalingBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1706,14 +1734,13 @@ public Builder mergeScaling(
*
*/
public Builder clearScaling() {
- if (scalingBuilder_ == null) {
- scaling_ = null;
- onChanged();
- } else {
- scaling_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ scaling_ = null;
+ if (scalingBuilder_ != null) {
+ scalingBuilder_.dispose();
scalingBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1730,7 +1757,7 @@ public Builder clearScaling() {
*/
public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling.Builder
getScalingBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getScalingFieldBuilder().getBuilder();
}
@@ -1854,7 +1881,9 @@ public com.google.protobuf.Parser getParserForType() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -1950,7 +1979,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 4;
@@ -1999,11 +2028,13 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int ETAG_FIELD_NUMBER = 5;
- private volatile java.lang.Object etag_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object etag_ = "";
/**
*
*
@@ -2066,6 +2097,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -2150,7 +2182,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -2248,11 +2283,13 @@ public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig getOnline
@java.lang.Override
public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfigOrBuilder
getOnlineServingConfigOrBuilder() {
- return getOnlineServingConfig();
+ return onlineServingConfig_ == null
+ ? com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.getDefaultInstance()
+ : onlineServingConfig_;
}
public static final int STATE_FIELD_NUMBER = 8;
- private int state_;
+ private int state_ = 0;
/**
*
*
@@ -2285,9 +2322,8 @@ public int getStateValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Featurestore.State getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Featurestore.State result =
- com.google.cloud.aiplatform.v1.Featurestore.State.valueOf(state_);
+ com.google.cloud.aiplatform.v1.Featurestore.State.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.Featurestore.State.UNRECOGNIZED : result;
}
@@ -2345,7 +2381,9 @@ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
- return getEncryptionSpec();
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
}
private byte memoizedIsInitialized = -1;
@@ -2658,35 +2696,29 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
etag_ = "";
-
internalGetMutableLabels().clear();
- if (onlineServingConfigBuilder_ == null) {
- onlineServingConfig_ = null;
- } else {
- onlineServingConfig_ = null;
+ onlineServingConfig_ = null;
+ if (onlineServingConfigBuilder_ != null) {
+ onlineServingConfigBuilder_.dispose();
onlineServingConfigBuilder_ = null;
}
state_ = 0;
-
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- } else {
- encryptionSpec_ = null;
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
return this;
@@ -2716,34 +2748,44 @@ public com.google.cloud.aiplatform.v1.Featurestore build() {
public com.google.cloud.aiplatform.v1.Featurestore buildPartial() {
com.google.cloud.aiplatform.v1.Featurestore result =
new com.google.cloud.aiplatform.v1.Featurestore(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.Featurestore result) {
int from_bitField0_ = bitField0_;
- result.name_ = name_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
}
- result.etag_ = etag_;
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- if (onlineServingConfigBuilder_ == null) {
- result.onlineServingConfig_ = onlineServingConfig_;
- } else {
- result.onlineServingConfig_ = onlineServingConfigBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
}
- result.state_ = state_;
- if (encryptionSpecBuilder_ == null) {
- result.encryptionSpec_ = encryptionSpec_;
- } else {
- result.encryptionSpec_ = encryptionSpecBuilder_.build();
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.etag_ = etag_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.onlineServingConfig_ =
+ onlineServingConfigBuilder_ == null
+ ? onlineServingConfig_
+ : onlineServingConfigBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.state_ = state_;
+ }
+ if (((from_bitField0_ & 0x00000080) != 0)) {
+ result.encryptionSpec_ =
+ encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -2793,6 +2835,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Featurestore other) {
if (other == com.google.cloud.aiplatform.v1.Featurestore.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasCreateTime()) {
@@ -2803,9 +2846,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.Featurestore other) {
}
if (!other.getEtag().isEmpty()) {
etag_ = other.etag_;
+ bitField0_ |= 0x00000008;
onChanged();
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00000010;
if (other.hasOnlineServingConfig()) {
mergeOnlineServingConfig(other.getOnlineServingConfig());
}
@@ -2844,25 +2889,25 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 26:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 26
case 34:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 34
case 42:
{
etag_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 42
case 50:
@@ -2874,25 +2919,26 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00000010;
break;
} // case 50
case 58:
{
input.readMessage(
getOnlineServingConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000020;
break;
} // case 58
case 64:
{
state_ = input.readEnum();
-
+ bitField0_ |= 0x00000040;
break;
} // case 64
case 82:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000080;
break;
} // case 82
default:
@@ -2978,8 +3024,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2996,8 +3042,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -3019,8 +3065,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -3045,7 +3091,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -3086,11 +3132,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -3107,11 +3153,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -3127,17 +3173,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -3152,14 +3199,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3174,7 +3220,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -3246,7 +3292,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -3287,11 +3333,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -3308,11 +3354,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -3328,17 +3374,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -3353,14 +3400,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3375,7 +3421,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -3491,8 +3537,8 @@ public Builder setEtag(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
etag_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -3509,8 +3555,8 @@ public Builder setEtag(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearEtag() {
-
etag_ = getDefaultInstance().getEtag();
+ bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
@@ -3532,8 +3578,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
etag_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -3549,14 +3595,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00000010;
+ onChanged();
return labels_;
}
@@ -3635,8 +3681,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -3674,6 +3722,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00000010);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -3705,6 +3754,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00000010;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -3732,8 +3782,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000010;
return this;
}
/**
@@ -3756,6 +3806,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000010;
return this;
}
@@ -3782,7 +3833,7 @@ public Builder putAllLabels(java.util.Map va
* @return Whether the onlineServingConfig field is set.
*/
public boolean hasOnlineServingConfig() {
- return onlineServingConfigBuilder_ != null || onlineServingConfig_ != null;
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
*
@@ -3831,11 +3882,11 @@ public Builder setOnlineServingConfig(
throw new NullPointerException();
}
onlineServingConfig_ = value;
- onChanged();
} else {
onlineServingConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -3856,11 +3907,11 @@ public Builder setOnlineServingConfig(
com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Builder builderForValue) {
if (onlineServingConfigBuilder_ == null) {
onlineServingConfig_ = builderForValue.build();
- onChanged();
} else {
onlineServingConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -3880,20 +3931,20 @@ public Builder setOnlineServingConfig(
public Builder mergeOnlineServingConfig(
com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig value) {
if (onlineServingConfigBuilder_ == null) {
- if (onlineServingConfig_ != null) {
- onlineServingConfig_ =
- com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.newBuilder(
- onlineServingConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000020) != 0)
+ && onlineServingConfig_ != null
+ && onlineServingConfig_
+ != com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig
+ .getDefaultInstance()) {
+ getOnlineServingConfigBuilder().mergeFrom(value);
} else {
onlineServingConfig_ = value;
}
- onChanged();
} else {
onlineServingConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000020;
+ onChanged();
return this;
}
/**
@@ -3911,14 +3962,13 @@ public Builder mergeOnlineServingConfig(
*
*/
public Builder clearOnlineServingConfig() {
- if (onlineServingConfigBuilder_ == null) {
- onlineServingConfig_ = null;
- onChanged();
- } else {
- onlineServingConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onlineServingConfig_ = null;
+ if (onlineServingConfigBuilder_ != null) {
+ onlineServingConfigBuilder_.dispose();
onlineServingConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3937,7 +3987,7 @@ public Builder clearOnlineServingConfig() {
*/
public com.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Builder
getOnlineServingConfigBuilder() {
-
+ bitField0_ |= 0x00000020;
onChanged();
return getOnlineServingConfigFieldBuilder().getBuilder();
}
@@ -4029,8 +4079,8 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
-
state_ = value;
+ bitField0_ |= 0x00000040;
onChanged();
return this;
}
@@ -4049,9 +4099,8 @@ public Builder setStateValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.Featurestore.State getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.Featurestore.State result =
- com.google.cloud.aiplatform.v1.Featurestore.State.valueOf(state_);
+ com.google.cloud.aiplatform.v1.Featurestore.State.forNumber(state_);
return result == null
? com.google.cloud.aiplatform.v1.Featurestore.State.UNRECOGNIZED
: result;
@@ -4074,7 +4123,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.Featurestore.State value)
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000040;
state_ = value.getNumber();
onChanged();
return this;
@@ -4093,7 +4142,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.Featurestore.State value)
* @return This builder for chaining.
*/
public Builder clearState() {
-
+ bitField0_ = (bitField0_ & ~0x00000040);
state_ = 0;
onChanged();
return this;
@@ -4120,7 +4169,7 @@ public Builder clearState() {
* @return Whether the encryptionSpec field is set.
*/
public boolean hasEncryptionSpec() {
- return encryptionSpecBuilder_ != null || encryptionSpec_ != null;
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
*
@@ -4163,11 +4212,11 @@ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec v
throw new NullPointerException();
}
encryptionSpec_ = value;
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -4186,11 +4235,11 @@ public Builder setEncryptionSpec(
com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) {
if (encryptionSpecBuilder_ == null) {
encryptionSpec_ = builderForValue.build();
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -4207,19 +4256,19 @@ public Builder setEncryptionSpec(
*/
public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
if (encryptionSpecBuilder_ == null) {
- if (encryptionSpec_ != null) {
- encryptionSpec_ =
- com.google.cloud.aiplatform.v1.EncryptionSpec.newBuilder(encryptionSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000080) != 0)
+ && encryptionSpec_ != null
+ && encryptionSpec_
+ != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) {
+ getEncryptionSpecBuilder().mergeFrom(value);
} else {
encryptionSpec_ = value;
}
- onChanged();
} else {
encryptionSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000080;
+ onChanged();
return this;
}
/**
@@ -4235,14 +4284,13 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec
*
*/
public Builder clearEncryptionSpec() {
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- onChanged();
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000080);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4258,7 +4306,7 @@ public Builder clearEncryptionSpec() {
*
*/
public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
-
+ bitField0_ |= 0x00000080;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java
index 49cfadcc3c13..01c7a413c04b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreMonitoringConfig.java
@@ -180,7 +180,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int DISABLED_FIELD_NUMBER = 1;
- private boolean disabled_;
+ private boolean disabled_ = false;
/**
*
*
@@ -208,7 +208,7 @@ public boolean getDisabled() {
}
public static final int MONITORING_INTERVAL_DAYS_FIELD_NUMBER = 3;
- private int monitoringIntervalDays_;
+ private int monitoringIntervalDays_ = 0;
/**
*
*
@@ -233,7 +233,7 @@ public int getMonitoringIntervalDays() {
}
public static final int STALENESS_DAYS_FIELD_NUMBER = 4;
- private int stalenessDays_;
+ private int stalenessDays_ = 0;
/**
*
*
@@ -484,12 +484,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
disabled_ = false;
-
monitoringIntervalDays_ = 0;
-
stalenessDays_ = 0;
-
return this;
}
@@ -521,13 +519,27 @@ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnaly
buildPartial() {
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis result =
new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis(this);
- result.disabled_ = disabled_;
- result.monitoringIntervalDays_ = monitoringIntervalDays_;
- result.stalenessDays_ = stalenessDays_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.disabled_ = disabled_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.monitoringIntervalDays_ = monitoringIntervalDays_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.stalenessDays_ = stalenessDays_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -619,19 +631,19 @@ public Builder mergeFrom(
case 8:
{
disabled_ = input.readBool();
-
+ bitField0_ |= 0x00000001;
break;
} // case 8
case 24:
{
monitoringIntervalDays_ = input.readInt32();
-
+ bitField0_ |= 0x00000002;
break;
} // case 24
case 32:
{
stalenessDays_ = input.readInt32();
-
+ bitField0_ |= 0x00000004;
break;
} // case 32
default:
@@ -651,6 +663,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private boolean disabled_;
/**
*
@@ -702,6 +716,7 @@ public boolean getDisabled() {
public Builder setDisabled(boolean value) {
disabled_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -727,7 +742,7 @@ public Builder setDisabled(boolean value) {
* @return This builder for chaining.
*/
public Builder clearDisabled() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
disabled_ = false;
onChanged();
return this;
@@ -778,6 +793,7 @@ public int getMonitoringIntervalDays() {
public Builder setMonitoringIntervalDays(int value) {
monitoringIntervalDays_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -800,7 +816,7 @@ public Builder setMonitoringIntervalDays(int value) {
* @return This builder for chaining.
*/
public Builder clearMonitoringIntervalDays() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
monitoringIntervalDays_ = 0;
onChanged();
return this;
@@ -841,6 +857,7 @@ public int getStalenessDays() {
public Builder setStalenessDays(int value) {
stalenessDays_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -858,7 +875,7 @@ public Builder setStalenessDays(int value) {
* @return This builder for chaining.
*/
public Builder clearStalenessDays() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
stalenessDays_ = 0;
onChanged();
return this;
@@ -1451,7 +1468,7 @@ private Baseline(int value) {
}
public static final int STATE_FIELD_NUMBER = 1;
- private int state_;
+ private int state_ = 0;
/**
*
*
@@ -1487,11 +1504,10 @@ public int getStateValue() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State
getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State
result =
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
- .State.valueOf(state_);
+ .State.forNumber(state_);
return result == null
? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State
.UNRECOGNIZED
@@ -1499,7 +1515,7 @@ public int getStateValue() {
}
public static final int ANOMALY_DETECTION_BASELINE_FIELD_NUMBER = 2;
- private int anomalyDetectionBaseline_;
+ private int anomalyDetectionBaseline_ = 0;
/**
*
*
@@ -1536,11 +1552,10 @@ public int getAnomalyDetectionBaselineValue() {
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.Baseline
getAnomalyDetectionBaseline() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline
result =
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
- .Baseline.valueOf(anomalyDetectionBaseline_);
+ .Baseline.forNumber(anomalyDetectionBaseline_);
return result == null
? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.Baseline.UNRECOGNIZED
@@ -1784,10 +1799,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
state_ = 0;
-
anomalyDetectionBaseline_ = 0;
-
return this;
}
@@ -1821,12 +1835,25 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis result =
new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis(
this);
- result.state_ = state_;
- result.anomalyDetectionBaseline_ = anomalyDetectionBaseline_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.state_ = state_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.anomalyDetectionBaseline_ = anomalyDetectionBaseline_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -1917,13 +1944,13 @@ public Builder mergeFrom(
case 8:
{
state_ = input.readEnum();
-
+ bitField0_ |= 0x00000001;
break;
} // case 8
case 16:
{
anomalyDetectionBaseline_ = input.readEnum();
-
+ bitField0_ |= 0x00000002;
break;
} // case 16
default:
@@ -1943,6 +1970,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private int state_ = 0;
/**
*
@@ -1978,8 +2007,8 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
-
state_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -2001,11 +2030,10 @@ public Builder setStateValue(int value) {
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.State
getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State
result =
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
- .State.valueOf(state_);
+ .State.forNumber(state_);
return result == null
? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.State.UNRECOGNIZED
@@ -2032,7 +2060,7 @@ public Builder setState(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000001;
state_ = value.getNumber();
onChanged();
return this;
@@ -2052,7 +2080,7 @@ public Builder setState(
* @return This builder for chaining.
*/
public Builder clearState() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
state_ = 0;
onChanged();
return this;
@@ -2093,8 +2121,8 @@ public int getAnomalyDetectionBaselineValue() {
* @return This builder for chaining.
*/
public Builder setAnomalyDetectionBaselineValue(int value) {
-
anomalyDetectionBaseline_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -2116,11 +2144,10 @@ public Builder setAnomalyDetectionBaselineValue(int value) {
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.Baseline
getAnomalyDetectionBaseline() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline
result =
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
- .Baseline.valueOf(anomalyDetectionBaseline_);
+ .Baseline.forNumber(anomalyDetectionBaseline_);
return result == null
? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.Baseline.UNRECOGNIZED
@@ -2148,7 +2175,7 @@ public Builder setAnomalyDetectionBaseline(
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000002;
anomalyDetectionBaseline_ = value.getNumber();
onChanged();
return this;
@@ -2168,7 +2195,7 @@ public Builder setAnomalyDetectionBaseline(
* @return This builder for chaining.
*/
public Builder clearAnomalyDetectionBaseline() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
anomalyDetectionBaseline_ = 0;
onChanged();
return this;
@@ -2655,6 +2682,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
thresholdCase_ = 0;
threshold_ = null;
return this;
@@ -2688,14 +2716,25 @@ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConf
buildPartial() {
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig result =
new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig(this);
- if (thresholdCase_ == 1) {
- result.threshold_ = threshold_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.thresholdCase_ = thresholdCase_;
+ buildPartialOneofs(result);
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig result) {
+ int from_bitField0_ = bitField0_;
+ }
+
+ private void buildPartialOneofs(
+ com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig result) {
+ result.thresholdCase_ = thresholdCase_;
+ result.threshold_ = this.threshold_;
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -2823,6 +2862,8 @@ public Builder clearThreshold() {
return this;
}
+ private int bitField0_;
+
/**
*
*
@@ -2885,6 +2926,7 @@ public double getValue() {
* @return This builder for chaining.
*/
public Builder setValue(double value) {
+
thresholdCase_ = 1;
threshold_ = value;
onChanged();
@@ -3039,7 +3081,10 @@ public boolean hasSnapshotAnalysis() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysisOrBuilder
getSnapshotAnalysisOrBuilder() {
- return getSnapshotAnalysis();
+ return snapshotAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .getDefaultInstance()
+ : snapshotAnalysis_;
}
public static final int IMPORT_FEATURES_ANALYSIS_FIELD_NUMBER = 2;
@@ -3097,7 +3142,10 @@ public boolean hasImportFeaturesAnalysis() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysisOrBuilder
getImportFeaturesAnalysisOrBuilder() {
- return getImportFeaturesAnalysis();
+ return importFeaturesAnalysis_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
+ .getDefaultInstance()
+ : importFeaturesAnalysis_;
}
public static final int NUMERICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 3;
@@ -3167,7 +3215,10 @@ public boolean hasNumericalThresholdConfig() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
getNumericalThresholdConfigOrBuilder() {
- return getNumericalThresholdConfig();
+ return numericalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()
+ : numericalThresholdConfig_;
}
public static final int CATEGORICAL_THRESHOLD_CONFIG_FIELD_NUMBER = 4;
@@ -3237,7 +3288,10 @@ public boolean hasCategoricalThresholdConfig() {
@java.lang.Override
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfigOrBuilder
getCategoricalThresholdConfigOrBuilder() {
- return getCategoricalThresholdConfig();
+ return categoricalThresholdConfig_ == null
+ ? com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()
+ : categoricalThresholdConfig_;
}
private byte memoizedIsInitialized = -1;
@@ -3491,28 +3545,25 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
- if (snapshotAnalysisBuilder_ == null) {
- snapshotAnalysis_ = null;
- } else {
- snapshotAnalysis_ = null;
+ bitField0_ = 0;
+ snapshotAnalysis_ = null;
+ if (snapshotAnalysisBuilder_ != null) {
+ snapshotAnalysisBuilder_.dispose();
snapshotAnalysisBuilder_ = null;
}
- if (importFeaturesAnalysisBuilder_ == null) {
- importFeaturesAnalysis_ = null;
- } else {
- importFeaturesAnalysis_ = null;
+ importFeaturesAnalysis_ = null;
+ if (importFeaturesAnalysisBuilder_ != null) {
+ importFeaturesAnalysisBuilder_.dispose();
importFeaturesAnalysisBuilder_ = null;
}
- if (numericalThresholdConfigBuilder_ == null) {
- numericalThresholdConfig_ = null;
- } else {
- numericalThresholdConfig_ = null;
+ numericalThresholdConfig_ = null;
+ if (numericalThresholdConfigBuilder_ != null) {
+ numericalThresholdConfigBuilder_.dispose();
numericalThresholdConfigBuilder_ = null;
}
- if (categoricalThresholdConfigBuilder_ == null) {
- categoricalThresholdConfig_ = null;
- } else {
- categoricalThresholdConfig_ = null;
+ categoricalThresholdConfig_ = null;
+ if (categoricalThresholdConfigBuilder_ != null) {
+ categoricalThresholdConfigBuilder_.dispose();
categoricalThresholdConfigBuilder_ = null;
}
return this;
@@ -3542,28 +3593,37 @@ public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig build() {
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig buildPartial() {
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig result =
new com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig(this);
- if (snapshotAnalysisBuilder_ == null) {
- result.snapshotAnalysis_ = snapshotAnalysis_;
- } else {
- result.snapshotAnalysis_ = snapshotAnalysisBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- if (importFeaturesAnalysisBuilder_ == null) {
- result.importFeaturesAnalysis_ = importFeaturesAnalysis_;
- } else {
- result.importFeaturesAnalysis_ = importFeaturesAnalysisBuilder_.build();
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.snapshotAnalysis_ =
+ snapshotAnalysisBuilder_ == null ? snapshotAnalysis_ : snapshotAnalysisBuilder_.build();
}
- if (numericalThresholdConfigBuilder_ == null) {
- result.numericalThresholdConfig_ = numericalThresholdConfig_;
- } else {
- result.numericalThresholdConfig_ = numericalThresholdConfigBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.importFeaturesAnalysis_ =
+ importFeaturesAnalysisBuilder_ == null
+ ? importFeaturesAnalysis_
+ : importFeaturesAnalysisBuilder_.build();
}
- if (categoricalThresholdConfigBuilder_ == null) {
- result.categoricalThresholdConfig_ = categoricalThresholdConfig_;
- } else {
- result.categoricalThresholdConfig_ = categoricalThresholdConfigBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.numericalThresholdConfig_ =
+ numericalThresholdConfigBuilder_ == null
+ ? numericalThresholdConfig_
+ : numericalThresholdConfigBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.categoricalThresholdConfig_ =
+ categoricalThresholdConfigBuilder_ == null
+ ? categoricalThresholdConfig_
+ : categoricalThresholdConfigBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -3654,28 +3714,28 @@ public Builder mergeFrom(
{
input.readMessage(
getSnapshotAnalysisFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(
getImportFeaturesAnalysisFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
input.readMessage(
getNumericalThresholdConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 34:
{
input.readMessage(
getCategoricalThresholdConfigFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
default:
@@ -3695,6 +3755,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis
snapshotAnalysis_;
private com.google.protobuf.SingleFieldBuilderV3<
@@ -3716,7 +3778,7 @@ public Builder mergeFrom(
* @return Whether the snapshotAnalysis field is set.
*/
public boolean hasSnapshotAnalysis() {
- return snapshotAnalysisBuilder_ != null || snapshotAnalysis_ != null;
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
*
@@ -3760,11 +3822,11 @@ public Builder setSnapshotAnalysis(
throw new NullPointerException();
}
snapshotAnalysis_ = value;
- onChanged();
} else {
snapshotAnalysisBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -3783,11 +3845,11 @@ public Builder setSnapshotAnalysis(
builderForValue) {
if (snapshotAnalysisBuilder_ == null) {
snapshotAnalysis_ = builderForValue.build();
- onChanged();
} else {
snapshotAnalysisBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -3804,20 +3866,20 @@ public Builder setSnapshotAnalysis(
public Builder mergeSnapshotAnalysis(
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis value) {
if (snapshotAnalysisBuilder_ == null) {
- if (snapshotAnalysis_ != null) {
- snapshotAnalysis_ =
- com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis
- .newBuilder(snapshotAnalysis_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000001) != 0)
+ && snapshotAnalysis_ != null
+ && snapshotAnalysis_
+ != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis
+ .getDefaultInstance()) {
+ getSnapshotAnalysisBuilder().mergeFrom(value);
} else {
snapshotAnalysis_ = value;
}
- onChanged();
} else {
snapshotAnalysisBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000001;
+ onChanged();
return this;
}
/**
@@ -3832,14 +3894,13 @@ public Builder mergeSnapshotAnalysis(
*
*/
public Builder clearSnapshotAnalysis() {
- if (snapshotAnalysisBuilder_ == null) {
- snapshotAnalysis_ = null;
- onChanged();
- } else {
- snapshotAnalysis_ = null;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ snapshotAnalysis_ = null;
+ if (snapshotAnalysisBuilder_ != null) {
+ snapshotAnalysisBuilder_.dispose();
snapshotAnalysisBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3855,7 +3916,7 @@ public Builder clearSnapshotAnalysis() {
*/
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.Builder
getSnapshotAnalysisBuilder() {
-
+ bitField0_ |= 0x00000001;
onChanged();
return getSnapshotAnalysisFieldBuilder().getBuilder();
}
@@ -3934,7 +3995,7 @@ public Builder clearSnapshotAnalysis() {
* @return Whether the importFeaturesAnalysis field is set.
*/
public boolean hasImportFeaturesAnalysis() {
- return importFeaturesAnalysisBuilder_ != null || importFeaturesAnalysis_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -3978,11 +4039,11 @@ public Builder setImportFeaturesAnalysis(
throw new NullPointerException();
}
importFeaturesAnalysis_ = value;
- onChanged();
} else {
importFeaturesAnalysisBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -4001,11 +4062,11 @@ public Builder setImportFeaturesAnalysis(
builderForValue) {
if (importFeaturesAnalysisBuilder_ == null) {
importFeaturesAnalysis_ = builderForValue.build();
- onChanged();
} else {
importFeaturesAnalysisBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -4022,20 +4083,20 @@ public Builder setImportFeaturesAnalysis(
public Builder mergeImportFeaturesAnalysis(
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis value) {
if (importFeaturesAnalysisBuilder_ == null) {
- if (importFeaturesAnalysis_ != null) {
- importFeaturesAnalysis_ =
- com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
- .newBuilder(importFeaturesAnalysis_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && importFeaturesAnalysis_ != null
+ && importFeaturesAnalysis_
+ != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig
+ .ImportFeaturesAnalysis.getDefaultInstance()) {
+ getImportFeaturesAnalysisBuilder().mergeFrom(value);
} else {
importFeaturesAnalysis_ = value;
}
- onChanged();
} else {
importFeaturesAnalysisBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -4050,14 +4111,13 @@ public Builder mergeImportFeaturesAnalysis(
*
*/
public Builder clearImportFeaturesAnalysis() {
- if (importFeaturesAnalysisBuilder_ == null) {
- importFeaturesAnalysis_ = null;
- onChanged();
- } else {
- importFeaturesAnalysis_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ importFeaturesAnalysis_ = null;
+ if (importFeaturesAnalysisBuilder_ != null) {
+ importFeaturesAnalysisBuilder_.dispose();
importFeaturesAnalysisBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4074,7 +4134,7 @@ public Builder clearImportFeaturesAnalysis() {
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis
.Builder
getImportFeaturesAnalysisBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getImportFeaturesAnalysisFieldBuilder().getBuilder();
}
@@ -4158,7 +4218,7 @@ public Builder clearImportFeaturesAnalysis() {
* @return Whether the numericalThresholdConfig field is set.
*/
public boolean hasNumericalThresholdConfig() {
- return numericalThresholdConfigBuilder_ != null || numericalThresholdConfig_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -4210,11 +4270,11 @@ public Builder setNumericalThresholdConfig(
throw new NullPointerException();
}
numericalThresholdConfig_ = value;
- onChanged();
} else {
numericalThresholdConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -4237,11 +4297,11 @@ public Builder setNumericalThresholdConfig(
builderForValue) {
if (numericalThresholdConfigBuilder_ == null) {
numericalThresholdConfig_ = builderForValue.build();
- onChanged();
} else {
numericalThresholdConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -4262,20 +4322,20 @@ public Builder setNumericalThresholdConfig(
public Builder mergeNumericalThresholdConfig(
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig value) {
if (numericalThresholdConfigBuilder_ == null) {
- if (numericalThresholdConfig_ != null) {
- numericalThresholdConfig_ =
- com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig
- .newBuilder(numericalThresholdConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && numericalThresholdConfig_ != null
+ && numericalThresholdConfig_
+ != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()) {
+ getNumericalThresholdConfigBuilder().mergeFrom(value);
} else {
numericalThresholdConfig_ = value;
}
- onChanged();
} else {
numericalThresholdConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -4294,14 +4354,13 @@ public Builder mergeNumericalThresholdConfig(
*
*/
public Builder clearNumericalThresholdConfig() {
- if (numericalThresholdConfigBuilder_ == null) {
- numericalThresholdConfig_ = null;
- onChanged();
- } else {
- numericalThresholdConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ numericalThresholdConfig_ = null;
+ if (numericalThresholdConfigBuilder_ != null) {
+ numericalThresholdConfigBuilder_.dispose();
numericalThresholdConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4321,7 +4380,7 @@ public Builder clearNumericalThresholdConfig() {
*/
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder
getNumericalThresholdConfigBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getNumericalThresholdConfigFieldBuilder().getBuilder();
}
@@ -4409,7 +4468,7 @@ public Builder clearNumericalThresholdConfig() {
* @return Whether the categoricalThresholdConfig field is set.
*/
public boolean hasCategoricalThresholdConfig() {
- return categoricalThresholdConfigBuilder_ != null || categoricalThresholdConfig_ != null;
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
*
@@ -4461,11 +4520,11 @@ public Builder setCategoricalThresholdConfig(
throw new NullPointerException();
}
categoricalThresholdConfig_ = value;
- onChanged();
} else {
categoricalThresholdConfigBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -4488,11 +4547,11 @@ public Builder setCategoricalThresholdConfig(
builderForValue) {
if (categoricalThresholdConfigBuilder_ == null) {
categoricalThresholdConfig_ = builderForValue.build();
- onChanged();
} else {
categoricalThresholdConfigBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -4513,20 +4572,20 @@ public Builder setCategoricalThresholdConfig(
public Builder mergeCategoricalThresholdConfig(
com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig value) {
if (categoricalThresholdConfigBuilder_ == null) {
- if (categoricalThresholdConfig_ != null) {
- categoricalThresholdConfig_ =
- com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig
- .newBuilder(categoricalThresholdConfig_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000008) != 0)
+ && categoricalThresholdConfig_ != null
+ && categoricalThresholdConfig_
+ != com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig
+ .getDefaultInstance()) {
+ getCategoricalThresholdConfigBuilder().mergeFrom(value);
} else {
categoricalThresholdConfig_ = value;
}
- onChanged();
} else {
categoricalThresholdConfigBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000008;
+ onChanged();
return this;
}
/**
@@ -4545,14 +4604,13 @@ public Builder mergeCategoricalThresholdConfig(
*
*/
public Builder clearCategoricalThresholdConfig() {
- if (categoricalThresholdConfigBuilder_ == null) {
- categoricalThresholdConfig_ = null;
- onChanged();
- } else {
- categoricalThresholdConfig_ = null;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ categoricalThresholdConfig_ = null;
+ if (categoricalThresholdConfigBuilder_ != null) {
+ categoricalThresholdConfigBuilder_.dispose();
categoricalThresholdConfigBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4572,7 +4630,7 @@ public Builder clearCategoricalThresholdConfig() {
*/
public com.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.Builder
getCategoricalThresholdConfigBuilder() {
-
+ bitField0_ |= 0x00000008;
onChanged();
return getCategoricalThresholdConfigFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOrBuilder.java
index ab27e7df0bbb..9f7939c8e170 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FeaturestoreOrBuilder.java
@@ -231,7 +231,6 @@ public interface FeaturestoreOrBuilder
*
* map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FilterSplit.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FilterSplit.java
index cb498b0d10a8..25047b857986 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FilterSplit.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FilterSplit.java
@@ -75,7 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int TRAINING_FILTER_FIELD_NUMBER = 1;
- private volatile java.lang.Object trainingFilter_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object trainingFilter_ = "";
/**
*
*
@@ -136,7 +138,9 @@ public com.google.protobuf.ByteString getTrainingFilterBytes() {
}
public static final int VALIDATION_FILTER_FIELD_NUMBER = 2;
- private volatile java.lang.Object validationFilter_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object validationFilter_ = "";
/**
*
*
@@ -197,7 +201,9 @@ public com.google.protobuf.ByteString getValidationFilterBytes() {
}
public static final int TEST_FILTER_FIELD_NUMBER = 3;
- private volatile java.lang.Object testFilter_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object testFilter_ = "";
/**
*
*
@@ -477,12 +483,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
trainingFilter_ = "";
-
validationFilter_ = "";
-
testFilter_ = "";
-
return this;
}
@@ -510,13 +514,26 @@ public com.google.cloud.aiplatform.v1.FilterSplit build() {
public com.google.cloud.aiplatform.v1.FilterSplit buildPartial() {
com.google.cloud.aiplatform.v1.FilterSplit result =
new com.google.cloud.aiplatform.v1.FilterSplit(this);
- result.trainingFilter_ = trainingFilter_;
- result.validationFilter_ = validationFilter_;
- result.testFilter_ = testFilter_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FilterSplit result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.trainingFilter_ = trainingFilter_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.validationFilter_ = validationFilter_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.testFilter_ = testFilter_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -564,14 +581,17 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.FilterSplit other) {
if (other == com.google.cloud.aiplatform.v1.FilterSplit.getDefaultInstance()) return this;
if (!other.getTrainingFilter().isEmpty()) {
trainingFilter_ = other.trainingFilter_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getValidationFilter().isEmpty()) {
validationFilter_ = other.validationFilter_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (!other.getTestFilter().isEmpty()) {
testFilter_ = other.testFilter_;
+ bitField0_ |= 0x00000004;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -603,19 +623,19 @@ public Builder mergeFrom(
case 10:
{
trainingFilter_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
validationFilter_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
testFilter_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
default:
@@ -635,6 +655,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object trainingFilter_ = "";
/**
*
@@ -714,8 +736,8 @@ public Builder setTrainingFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
trainingFilter_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -737,8 +759,8 @@ public Builder setTrainingFilter(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearTrainingFilter() {
-
trainingFilter_ = getDefaultInstance().getTrainingFilter();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -765,8 +787,8 @@ public Builder setTrainingFilterBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
trainingFilter_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -850,8 +872,8 @@ public Builder setValidationFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
validationFilter_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -873,8 +895,8 @@ public Builder setValidationFilter(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearValidationFilter() {
-
validationFilter_ = getDefaultInstance().getValidationFilter();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -901,8 +923,8 @@ public Builder setValidationFilterBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
validationFilter_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -986,8 +1008,8 @@ public Builder setTestFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
testFilter_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -1009,8 +1031,8 @@ public Builder setTestFilter(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearTestFilter() {
-
testFilter_ = getDefaultInstance().getTestFilter();
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
@@ -1037,8 +1059,8 @@ public Builder setTestFilterBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
testFilter_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FractionSplit.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FractionSplit.java
index 5b723543947e..60262f41a54f 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FractionSplit.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/FractionSplit.java
@@ -71,7 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int TRAINING_FRACTION_FIELD_NUMBER = 1;
- private double trainingFraction_;
+ private double trainingFraction_ = 0D;
/**
*
*
@@ -89,7 +89,7 @@ public double getTrainingFraction() {
}
public static final int VALIDATION_FRACTION_FIELD_NUMBER = 2;
- private double validationFraction_;
+ private double validationFraction_ = 0D;
/**
*
*
@@ -107,7 +107,7 @@ public double getValidationFraction() {
}
public static final int TEST_FRACTION_FIELD_NUMBER = 3;
- private double testFraction_;
+ private double testFraction_ = 0D;
/**
*
*
@@ -356,12 +356,10 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
trainingFraction_ = 0D;
-
validationFraction_ = 0D;
-
testFraction_ = 0D;
-
return this;
}
@@ -389,13 +387,26 @@ public com.google.cloud.aiplatform.v1.FractionSplit build() {
public com.google.cloud.aiplatform.v1.FractionSplit buildPartial() {
com.google.cloud.aiplatform.v1.FractionSplit result =
new com.google.cloud.aiplatform.v1.FractionSplit(this);
- result.trainingFraction_ = trainingFraction_;
- result.validationFraction_ = validationFraction_;
- result.testFraction_ = testFraction_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.FractionSplit result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.trainingFraction_ = trainingFraction_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.validationFraction_ = validationFraction_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.testFraction_ = testFraction_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -479,19 +490,19 @@ public Builder mergeFrom(
case 9:
{
trainingFraction_ = input.readDouble();
-
+ bitField0_ |= 0x00000001;
break;
} // case 9
case 17:
{
validationFraction_ = input.readDouble();
-
+ bitField0_ |= 0x00000002;
break;
} // case 17
case 25:
{
testFraction_ = input.readDouble();
-
+ bitField0_ |= 0x00000004;
break;
} // case 25
default:
@@ -511,6 +522,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private double trainingFraction_;
/**
*
@@ -542,6 +555,7 @@ public double getTrainingFraction() {
public Builder setTrainingFraction(double value) {
trainingFraction_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -557,7 +571,7 @@ public Builder setTrainingFraction(double value) {
* @return This builder for chaining.
*/
public Builder clearTrainingFraction() {
-
+ bitField0_ = (bitField0_ & ~0x00000001);
trainingFraction_ = 0D;
onChanged();
return this;
@@ -594,6 +608,7 @@ public double getValidationFraction() {
public Builder setValidationFraction(double value) {
validationFraction_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -609,7 +624,7 @@ public Builder setValidationFraction(double value) {
* @return This builder for chaining.
*/
public Builder clearValidationFraction() {
-
+ bitField0_ = (bitField0_ & ~0x00000002);
validationFraction_ = 0D;
onChanged();
return this;
@@ -646,6 +661,7 @@ public double getTestFraction() {
public Builder setTestFraction(double value) {
testFraction_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
@@ -661,7 +677,7 @@ public Builder setTestFraction(double value) {
* @return This builder for chaining.
*/
public Builder clearTestFraction() {
-
+ bitField0_ = (bitField0_ & ~0x00000004);
testFraction_ = 0D;
onChanged();
return this;
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsDestination.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsDestination.java
index 45c13c4dcd8e..63c4372f67fb 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsDestination.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsDestination.java
@@ -68,7 +68,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int OUTPUT_URI_PREFIX_FIELD_NUMBER = 1;
- private volatile java.lang.Object outputUriPrefix_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object outputUriPrefix_ = "";
/**
*
*
@@ -319,8 +321,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
outputUriPrefix_ = "";
-
return this;
}
@@ -348,11 +350,20 @@ public com.google.cloud.aiplatform.v1.GcsDestination build() {
public com.google.cloud.aiplatform.v1.GcsDestination buildPartial() {
com.google.cloud.aiplatform.v1.GcsDestination result =
new com.google.cloud.aiplatform.v1.GcsDestination(this);
- result.outputUriPrefix_ = outputUriPrefix_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GcsDestination result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.outputUriPrefix_ = outputUriPrefix_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -400,6 +411,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GcsDestination other) {
if (other == com.google.cloud.aiplatform.v1.GcsDestination.getDefaultInstance()) return this;
if (!other.getOutputUriPrefix().isEmpty()) {
outputUriPrefix_ = other.outputUriPrefix_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -431,7 +443,7 @@ public Builder mergeFrom(
case 10:
{
outputUriPrefix_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -451,6 +463,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object outputUriPrefix_ = "";
/**
*
@@ -521,8 +535,8 @@ public Builder setOutputUriPrefix(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
outputUriPrefix_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -541,8 +555,8 @@ public Builder setOutputUriPrefix(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearOutputUriPrefix() {
-
outputUriPrefix_ = getDefaultInstance().getOutputUriPrefix();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -566,8 +580,8 @@ public Builder setOutputUriPrefixBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
outputUriPrefix_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsSource.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsSource.java
index 4a8bc87e8770..09d603849f89 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsSource.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GcsSource.java
@@ -68,6 +68,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int URIS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList uris_;
/**
*
@@ -339,6 +341,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
uris_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
@@ -368,14 +371,24 @@ public com.google.cloud.aiplatform.v1.GcsSource build() {
public com.google.cloud.aiplatform.v1.GcsSource buildPartial() {
com.google.cloud.aiplatform.v1.GcsSource result =
new com.google.cloud.aiplatform.v1.GcsSource(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.GcsSource result) {
if (((bitField0_ & 0x00000001) != 0)) {
uris_ = uris_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.uris_ = uris_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GcsSource result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenericOperationMetadata.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenericOperationMetadata.java
index d395a1c3858c..4c1a1349520c 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenericOperationMetadata.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GenericOperationMetadata.java
@@ -68,6 +68,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int PARTIAL_FAILURES_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private java.util.List partialFailures_;
/**
*
@@ -207,7 +209,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 3;
@@ -262,7 +264,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
private byte memoizedIsInitialized = -1;
@@ -493,6 +495,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (partialFailuresBuilder_ == null) {
partialFailures_ = java.util.Collections.emptyList();
} else {
@@ -500,16 +503,14 @@ public Builder clear() {
partialFailuresBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
return this;
@@ -539,7 +540,16 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata build() {
public com.google.cloud.aiplatform.v1.GenericOperationMetadata buildPartial() {
com.google.cloud.aiplatform.v1.GenericOperationMetadata result =
new com.google.cloud.aiplatform.v1.GenericOperationMetadata(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.GenericOperationMetadata result) {
if (partialFailuresBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
partialFailures_ = java.util.Collections.unmodifiableList(partialFailures_);
@@ -549,18 +559,16 @@ public com.google.cloud.aiplatform.v1.GenericOperationMetadata buildPartial() {
} else {
result.partialFailures_ = partialFailuresBuilder_.build();
}
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GenericOperationMetadata result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -683,13 +691,13 @@ public Builder mergeFrom(
case 18:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 26
default:
@@ -1166,7 +1174,7 @@ public java.util.List getPartialFailuresBuilderLi
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -1207,11 +1215,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1228,11 +1236,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1248,17 +1256,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -1273,14 +1282,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1295,7 +1303,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -1369,7 +1377,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -1414,11 +1422,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1437,11 +1445,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1459,17 +1467,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -1486,14 +1495,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -1510,7 +1518,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetAnnotationSpecRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetAnnotationSpecRequest.java
index 05d074ceab0c..ca0d293ed33b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetAnnotationSpecRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetAnnotationSpecRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -168,7 +170,7 @@ public com.google.protobuf.FieldMask getReadMask() {
*/
@java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
- return getReadMask();
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
}
private byte memoizedIsInitialized = -1;
@@ -384,12 +386,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
- if (readMaskBuilder_ == null) {
- readMask_ = null;
- } else {
- readMask_ = null;
+ readMask_ = null;
+ if (readMaskBuilder_ != null) {
+ readMaskBuilder_.dispose();
readMaskBuilder_ = null;
}
return this;
@@ -419,16 +420,23 @@ public com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest build() {
public com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest result =
new com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest(this);
- result.name_ = name_;
- if (readMaskBuilder_ == null) {
- result.readMask_ = readMask_;
- } else {
- result.readMask_ = readMaskBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -477,6 +485,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasReadMask()) {
@@ -511,13 +520,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -537,6 +546,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -610,8 +621,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -631,8 +642,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -657,8 +668,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -681,7 +692,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the readMask field is set.
*/
public boolean hasReadMask() {
- return readMaskBuilder_ != null || readMask_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -716,11 +727,11 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
throw new NullPointerException();
}
readMask_ = value;
- onChanged();
} else {
readMaskBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -735,11 +746,11 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
if (readMaskBuilder_ == null) {
readMask_ = builderForValue.build();
- onChanged();
} else {
readMaskBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -753,17 +764,18 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
*/
public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
if (readMaskBuilder_ == null) {
- if (readMask_ != null) {
- readMask_ =
- com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && readMask_ != null
+ && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+ getReadMaskBuilder().mergeFrom(value);
} else {
readMask_ = value;
}
- onChanged();
} else {
readMaskBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -776,14 +788,13 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
* .google.protobuf.FieldMask read_mask = 2;
*/
public Builder clearReadMask() {
- if (readMaskBuilder_ == null) {
- readMask_ = null;
- onChanged();
- } else {
- readMask_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ readMask_ = null;
+ if (readMaskBuilder_ != null) {
+ readMaskBuilder_.dispose();
readMaskBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -796,7 +807,7 @@ public Builder clearReadMask() {
* .google.protobuf.FieldMask read_mask = 2;
*/
public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getReadMaskFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetArtifactRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetArtifactRequest.java
index beb2b7594b90..da9f7ceea8c7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetArtifactRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetArtifactRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetArtifactRequest build() {
public com.google.cloud.aiplatform.v1.GetArtifactRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetArtifactRequest result =
new com.google.cloud.aiplatform.v1.GetArtifactRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetArtifactRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetArtifactRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetBatchPredictionJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetBatchPredictionJobRequest.java
index ffe8266528e7..b9196443c94a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetBatchPredictionJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetBatchPredictionJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest build() {
public com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest result =
new com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetBatchPredictionJobReq
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetContextRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetContextRequest.java
index 4c569dd4a7f0..40b57928bb60 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetContextRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetContextRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetContextRequest build() {
public com.google.cloud.aiplatform.v1.GetContextRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetContextRequest result =
new com.google.cloud.aiplatform.v1.GetContextRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetContextRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetContextRequest other)
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetCustomJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetCustomJobRequest.java
index 855ab53331a7..a1aa04e41bf8 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetCustomJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetCustomJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetCustomJobRequest build() {
public com.google.cloud.aiplatform.v1.GetCustomJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetCustomJobRequest result =
new com.google.cloud.aiplatform.v1.GetCustomJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetCustomJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetCustomJobRequest othe
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDataLabelingJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDataLabelingJobRequest.java
index e16558389d64..9ed6e36a50e1 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDataLabelingJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDataLabelingJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest build() {
public com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest result =
new com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetDataLabelingJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetDataLabelingJobReques
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDatasetRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDatasetRequest.java
index 9cd39f8f78a2..6ba89edf201b 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDatasetRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetDatasetRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -164,7 +166,7 @@ public com.google.protobuf.FieldMask getReadMask() {
*/
@java.lang.Override
public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() {
- return getReadMask();
+ return readMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : readMask_;
}
private byte memoizedIsInitialized = -1;
@@ -379,12 +381,11 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
- if (readMaskBuilder_ == null) {
- readMask_ = null;
- } else {
- readMask_ = null;
+ readMask_ = null;
+ if (readMaskBuilder_ != null) {
+ readMaskBuilder_.dispose();
readMaskBuilder_ = null;
}
return this;
@@ -414,16 +415,23 @@ public com.google.cloud.aiplatform.v1.GetDatasetRequest build() {
public com.google.cloud.aiplatform.v1.GetDatasetRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetDatasetRequest result =
new com.google.cloud.aiplatform.v1.GetDatasetRequest(this);
- result.name_ = name_;
- if (readMaskBuilder_ == null) {
- result.readMask_ = readMask_;
- } else {
- result.readMask_ = readMaskBuilder_.build();
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetDatasetRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.readMask_ = readMaskBuilder_ == null ? readMask_ : readMaskBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -472,6 +480,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetDatasetRequest other)
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasReadMask()) {
@@ -506,13 +515,13 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
input.readMessage(getReadMaskFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
default:
@@ -532,6 +541,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -599,8 +610,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -618,8 +629,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -642,8 +653,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -666,7 +677,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the readMask field is set.
*/
public boolean hasReadMask() {
- return readMaskBuilder_ != null || readMask_ != null;
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
*
@@ -701,11 +712,11 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
throw new NullPointerException();
}
readMask_ = value;
- onChanged();
} else {
readMaskBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -720,11 +731,11 @@ public Builder setReadMask(com.google.protobuf.FieldMask value) {
public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue) {
if (readMaskBuilder_ == null) {
readMask_ = builderForValue.build();
- onChanged();
} else {
readMaskBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -738,17 +749,18 @@ public Builder setReadMask(com.google.protobuf.FieldMask.Builder builderForValue
*/
public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
if (readMaskBuilder_ == null) {
- if (readMask_ != null) {
- readMask_ =
- com.google.protobuf.FieldMask.newBuilder(readMask_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000002) != 0)
+ && readMask_ != null
+ && readMask_ != com.google.protobuf.FieldMask.getDefaultInstance()) {
+ getReadMaskBuilder().mergeFrom(value);
} else {
readMask_ = value;
}
- onChanged();
} else {
readMaskBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
/**
@@ -761,14 +773,13 @@ public Builder mergeReadMask(com.google.protobuf.FieldMask value) {
* .google.protobuf.FieldMask read_mask = 2;
*/
public Builder clearReadMask() {
- if (readMaskBuilder_ == null) {
- readMask_ = null;
- onChanged();
- } else {
- readMask_ = null;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ readMask_ = null;
+ if (readMaskBuilder_ != null) {
+ readMaskBuilder_.dispose();
readMaskBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -781,7 +792,7 @@ public Builder clearReadMask() {
* .google.protobuf.FieldMask read_mask = 2;
*/
public com.google.protobuf.FieldMask.Builder getReadMaskBuilder() {
-
+ bitField0_ |= 0x00000002;
onChanged();
return getReadMaskFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEndpointRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEndpointRequest.java
index 43f67e0fef77..2e8f834a6ca9 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEndpointRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEndpointRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetEndpointRequest build() {
public com.google.cloud.aiplatform.v1.GetEndpointRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetEndpointRequest result =
new com.google.cloud.aiplatform.v1.GetEndpointRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetEndpointRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetEndpointRequest other
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEntityTypeRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEntityTypeRequest.java
index f2ea711bcfcd..e0321a9bdb9e 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEntityTypeRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetEntityTypeRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetEntityTypeRequest build() {
public com.google.cloud.aiplatform.v1.GetEntityTypeRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetEntityTypeRequest result =
new com.google.cloud.aiplatform.v1.GetEntityTypeRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetEntityTypeRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetEntityTypeRequest oth
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetExecutionRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetExecutionRequest.java
index dae18ca63af7..5dec8a85cddb 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetExecutionRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetExecutionRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetExecutionRequest build() {
public com.google.cloud.aiplatform.v1.GetExecutionRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetExecutionRequest result =
new com.google.cloud.aiplatform.v1.GetExecutionRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetExecutionRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetExecutionRequest othe
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureRequest.java
index f61cbee6089d..9cbaa76432b5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeatureRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetFeatureRequest build() {
public com.google.cloud.aiplatform.v1.GetFeatureRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetFeatureRequest result =
new com.google.cloud.aiplatform.v1.GetFeatureRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetFeatureRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetFeatureRequest other)
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeaturestoreRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeaturestoreRequest.java
index 1e6d26ff9588..1ee80d08e7d5 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeaturestoreRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetFeaturestoreRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -320,8 +322,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -349,11 +351,20 @@ public com.google.cloud.aiplatform.v1.GetFeaturestoreRequest build() {
public com.google.cloud.aiplatform.v1.GetFeaturestoreRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetFeaturestoreRequest result =
new com.google.cloud.aiplatform.v1.GetFeaturestoreRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetFeaturestoreRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -402,6 +413,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetFeaturestoreRequest o
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -433,7 +445,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -453,6 +465,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -520,8 +534,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -539,8 +553,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -563,8 +577,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetHyperparameterTuningJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetHyperparameterTuningJobRequest.java
index 8ff651933ea9..9a663e427a90 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetHyperparameterTuningJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetHyperparameterTuningJobRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -325,8 +327,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -355,11 +357,21 @@ public com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest build()
public com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest result =
new com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -410,6 +422,7 @@ public Builder mergeFrom(
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -441,7 +454,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -461,6 +474,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -534,8 +549,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -555,8 +570,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -581,8 +596,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexEndpointRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexEndpointRequest.java
index f566f888977f..f9cee80d2e69 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexEndpointRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexEndpointRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetIndexEndpointRequest build() {
public com.google.cloud.aiplatform.v1.GetIndexEndpointRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetIndexEndpointRequest result =
new com.google.cloud.aiplatform.v1.GetIndexEndpointRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetIndexEndpointRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetIndexEndpointRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexRequest.java
index 08be8e0b50bb..31c9216f1a87 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetIndexRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetIndexRequest build() {
public com.google.cloud.aiplatform.v1.GetIndexRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetIndexRequest result =
new com.google.cloud.aiplatform.v1.GetIndexRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetIndexRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -404,6 +415,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetIndexRequest other) {
if (other == com.google.cloud.aiplatform.v1.GetIndexRequest.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -435,7 +447,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -455,6 +467,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -528,8 +542,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -549,8 +563,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -575,8 +589,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataSchemaRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataSchemaRequest.java
index aefe4c39ec5c..a1438aaae810 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataSchemaRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataSchemaRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetMetadataSchemaRequest build() {
public com.google.cloud.aiplatform.v1.GetMetadataSchemaRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetMetadataSchemaRequest result =
new com.google.cloud.aiplatform.v1.GetMetadataSchemaRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetMetadataSchemaRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetMetadataSchemaRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataStoreRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataStoreRequest.java
index 0145808080cc..d631188945b4 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataStoreRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetMetadataStoreRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetMetadataStoreRequest build() {
public com.google.cloud.aiplatform.v1.GetMetadataStoreRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetMetadataStoreRequest result =
new com.google.cloud.aiplatform.v1.GetMetadataStoreRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetMetadataStoreRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetMetadataStoreRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelDeploymentMonitoringJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelDeploymentMonitoringJobRequest.java
index e5991b49092f..a0b586ea7047 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelDeploymentMonitoringJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelDeploymentMonitoringJobRequest.java
@@ -71,7 +71,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -328,8 +330,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -359,11 +361,21 @@ public com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest bui
public com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest result =
new com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -415,6 +427,7 @@ public Builder mergeFrom(
.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -446,7 +459,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -466,6 +479,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -539,8 +554,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -560,8 +575,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -586,8 +601,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationRequest.java
index 146ba7d6dd88..9e09634465f7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetModelEvaluationRequest build() {
public com.google.cloud.aiplatform.v1.GetModelEvaluationRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetModelEvaluationRequest result =
new com.google.cloud.aiplatform.v1.GetModelEvaluationRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetModelEvaluationRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetModelEvaluationReques
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationSliceRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationSliceRequest.java
index bb8283db9016..fc8a6acf4510 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationSliceRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelEvaluationSliceRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -325,8 +327,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -355,11 +357,21 @@ public com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest build() {
public com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest result =
new com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -409,6 +421,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetModelEvaluationSliceR
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -440,7 +453,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -460,6 +473,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -533,8 +548,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -554,8 +569,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -580,8 +595,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelRequest.java
index f58d4e58b54e..77b3f9595fd2 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetModelRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -339,8 +341,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -368,11 +370,20 @@ public com.google.cloud.aiplatform.v1.GetModelRequest build() {
public com.google.cloud.aiplatform.v1.GetModelRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetModelRequest result =
new com.google.cloud.aiplatform.v1.GetModelRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetModelRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -420,6 +431,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetModelRequest other) {
if (other == com.google.cloud.aiplatform.v1.GetModelRequest.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -451,7 +463,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -471,6 +483,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -568,8 +582,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -597,8 +611,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -631,8 +645,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetPipelineJobRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetPipelineJobRequest.java
index 9176831cfd77..ad5cdc4ae683 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetPipelineJobRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetPipelineJobRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetPipelineJobRequest build() {
public com.google.cloud.aiplatform.v1.GetPipelineJobRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetPipelineJobRequest result =
new com.google.cloud.aiplatform.v1.GetPipelineJobRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetPipelineJobRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetPipelineJobRequest ot
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetSpecialistPoolRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetSpecialistPoolRequest.java
index 475a63a19ade..7c7e90a95099 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetSpecialistPoolRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetSpecialistPoolRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetSpecialistPoolRequest build() {
public com.google.cloud.aiplatform.v1.GetSpecialistPoolRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetSpecialistPoolRequest result =
new com.google.cloud.aiplatform.v1.GetSpecialistPoolRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetSpecialistPoolRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetSpecialistPoolRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetStudyRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetStudyRequest.java
index a1259c4aa1d7..299a75e9ea73 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetStudyRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetStudyRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -321,8 +323,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -350,11 +352,20 @@ public com.google.cloud.aiplatform.v1.GetStudyRequest build() {
public com.google.cloud.aiplatform.v1.GetStudyRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetStudyRequest result =
new com.google.cloud.aiplatform.v1.GetStudyRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetStudyRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -402,6 +413,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetStudyRequest other) {
if (other == com.google.cloud.aiplatform.v1.GetStudyRequest.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -433,7 +445,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -453,6 +465,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -523,8 +537,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -543,8 +557,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -568,8 +582,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardExperimentRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardExperimentRequest.java
index b3f8c0b33a43..bb06165f6df7 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardExperimentRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardExperimentRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -325,8 +327,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -355,11 +357,21 @@ public com.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest build() {
public com.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest result =
new com.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -409,6 +421,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetTensorboardExperiment
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -440,7 +453,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -460,6 +473,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -533,8 +548,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -554,8 +569,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -580,8 +595,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRequest.java
index 44fa5c77e7c2..1a4e368992ff 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetTensorboardRequest build() {
public com.google.cloud.aiplatform.v1.GetTensorboardRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetTensorboardRequest result =
new com.google.cloud.aiplatform.v1.GetTensorboardRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetTensorboardRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -405,6 +416,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetTensorboardRequest ot
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -436,7 +448,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -456,6 +468,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -529,8 +543,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -550,8 +564,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -576,8 +590,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRunRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRunRequest.java
index ba508ab11aa3..48d5b761af01 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRunRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardRunRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetTensorboardRunRequest build() {
public com.google.cloud.aiplatform.v1.GetTensorboardRunRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetTensorboardRunRequest result =
new com.google.cloud.aiplatform.v1.GetTensorboardRunRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetTensorboardRunRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetTensorboardRunRequest
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardTimeSeriesRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardTimeSeriesRequest.java
index 896f2147871c..3ad6cf4ff756 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardTimeSeriesRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTensorboardTimeSeriesRequest.java
@@ -70,7 +70,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -325,8 +327,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -355,11 +357,21 @@ public com.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest build() {
public com.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest result =
new com.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(
+ com.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -409,6 +421,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetTensorboardTimeSeries
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -440,7 +453,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -460,6 +473,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -533,8 +548,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -554,8 +569,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -580,8 +595,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrainingPipelineRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrainingPipelineRequest.java
index 8c6cee9ee2cb..0de39d5d1511 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrainingPipelineRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrainingPipelineRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -324,8 +326,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -353,11 +355,20 @@ public com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest build() {
public com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest result =
new com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetTrainingPipelineRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -406,6 +417,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetTrainingPipelineReque
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -437,7 +449,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -457,6 +469,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -530,8 +544,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -551,8 +565,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -577,8 +591,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrialRequest.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrialRequest.java
index 996defbb8fec..5c5416b2aaad 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrialRequest.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/GetTrialRequest.java
@@ -69,7 +69,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -323,8 +325,8 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
return this;
}
@@ -352,11 +354,20 @@ public com.google.cloud.aiplatform.v1.GetTrialRequest build() {
public com.google.cloud.aiplatform.v1.GetTrialRequest buildPartial() {
com.google.cloud.aiplatform.v1.GetTrialRequest result =
new com.google.cloud.aiplatform.v1.GetTrialRequest(this);
- result.name_ = name_;
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.GetTrialRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -404,6 +415,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.GetTrialRequest other) {
if (other == com.google.cloud.aiplatform.v1.GetTrialRequest.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -435,7 +447,7 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
default:
@@ -455,6 +467,8 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
private java.lang.Object name_ = "";
/**
*
@@ -528,8 +542,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -549,8 +563,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -575,8 +589,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJob.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJob.java
index 64d37f2889e9..3d9566e1cbc1 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJob.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJob.java
@@ -84,7 +84,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
public static final int NAME_FIELD_NUMBER = 1;
- private volatile java.lang.Object name_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
/**
*
*
@@ -133,7 +135,9 @@ public com.google.protobuf.ByteString getNameBytes() {
}
public static final int DISPLAY_NAME_FIELD_NUMBER = 2;
- private volatile java.lang.Object displayName_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object displayName_ = "";
/**
*
*
@@ -236,11 +240,13 @@ public com.google.cloud.aiplatform.v1.StudySpec getStudySpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.StudySpecOrBuilder getStudySpecOrBuilder() {
- return getStudySpec();
+ return studySpec_ == null
+ ? com.google.cloud.aiplatform.v1.StudySpec.getDefaultInstance()
+ : studySpec_;
}
public static final int MAX_TRIAL_COUNT_FIELD_NUMBER = 5;
- private int maxTrialCount_;
+ private int maxTrialCount_ = 0;
/**
*
*
@@ -258,7 +264,7 @@ public int getMaxTrialCount() {
}
public static final int PARALLEL_TRIAL_COUNT_FIELD_NUMBER = 6;
- private int parallelTrialCount_;
+ private int parallelTrialCount_ = 0;
/**
*
*
@@ -276,7 +282,7 @@ public int getParallelTrialCount() {
}
public static final int MAX_FAILED_TRIAL_COUNT_FIELD_NUMBER = 7;
- private int maxFailedTrialCount_;
+ private int maxFailedTrialCount_ = 0;
/**
*
*
@@ -350,10 +356,14 @@ public com.google.cloud.aiplatform.v1.CustomJobSpec getTrialJobSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder getTrialJobSpecOrBuilder() {
- return getTrialJobSpec();
+ return trialJobSpec_ == null
+ ? com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance()
+ : trialJobSpec_;
}
public static final int TRIALS_FIELD_NUMBER = 9;
+
+ @SuppressWarnings("serial")
private java.util.List trials_;
/**
*
@@ -433,7 +443,7 @@ public com.google.cloud.aiplatform.v1.TrialOrBuilder getTrialsOrBuilder(int inde
}
public static final int STATE_FIELD_NUMBER = 10;
- private int state_;
+ private int state_ = 0;
/**
*
*
@@ -466,9 +476,8 @@ public int getStateValue() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.JobState getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.JobState result =
- com.google.cloud.aiplatform.v1.JobState.valueOf(state_);
+ com.google.cloud.aiplatform.v1.JobState.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.JobState.UNRECOGNIZED : result;
}
@@ -518,7 +527,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
- return getCreateTime();
+ return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
}
public static final int START_TIME_FIELD_NUMBER = 12;
@@ -570,7 +579,7 @@ public com.google.protobuf.Timestamp getStartTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
- return getStartTime();
+ return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
public static final int END_TIME_FIELD_NUMBER = 13;
@@ -625,7 +634,7 @@ public com.google.protobuf.Timestamp getEndTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
- return getEndTime();
+ return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
public static final int UPDATE_TIME_FIELD_NUMBER = 14;
@@ -677,7 +686,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
- return getUpdateTime();
+ return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_;
}
public static final int ERROR_FIELD_NUMBER = 15;
@@ -726,7 +735,7 @@ public com.google.rpc.Status getError() {
*/
@java.lang.Override
public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
- return getError();
+ return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
}
public static final int LABELS_FIELD_NUMBER = 16;
@@ -742,6 +751,7 @@ private static final class LabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField labels_;
private com.google.protobuf.MapField internalGetLabels() {
@@ -811,7 +821,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 16;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -894,7 +907,9 @@ public com.google.cloud.aiplatform.v1.EncryptionSpec getEncryptionSpec() {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.EncryptionSpecOrBuilder getEncryptionSpecOrBuilder() {
- return getEncryptionSpec();
+ return encryptionSpec_ == null
+ ? com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()
+ : encryptionSpec_;
}
private byte memoizedIsInitialized = -1;
@@ -1302,26 +1317,20 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
name_ = "";
-
displayName_ = "";
-
- if (studySpecBuilder_ == null) {
- studySpec_ = null;
- } else {
- studySpec_ = null;
+ studySpec_ = null;
+ if (studySpecBuilder_ != null) {
+ studySpecBuilder_.dispose();
studySpecBuilder_ = null;
}
maxTrialCount_ = 0;
-
parallelTrialCount_ = 0;
-
maxFailedTrialCount_ = 0;
-
- if (trialJobSpecBuilder_ == null) {
- trialJobSpec_ = null;
- } else {
- trialJobSpec_ = null;
+ trialJobSpec_ = null;
+ if (trialJobSpecBuilder_ != null) {
+ trialJobSpecBuilder_.dispose();
trialJobSpecBuilder_ = null;
}
if (trialsBuilder_ == null) {
@@ -1330,44 +1339,37 @@ public Builder clear() {
trials_ = null;
trialsBuilder_.clear();
}
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000080);
state_ = 0;
-
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- } else {
- createTime_ = null;
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- } else {
- startTime_ = null;
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
- if (endTimeBuilder_ == null) {
- endTime_ = null;
- } else {
- endTime_ = null;
+ endTime_ = null;
+ if (endTimeBuilder_ != null) {
+ endTimeBuilder_.dispose();
endTimeBuilder_ = null;
}
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- } else {
- updateTime_ = null;
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
- if (errorBuilder_ == null) {
- error_ = null;
- } else {
- error_ = null;
+ error_ = null;
+ if (errorBuilder_ != null) {
+ errorBuilder_.dispose();
errorBuilder_ = null;
}
internalGetMutableLabels().clear();
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- } else {
- encryptionSpec_ = null;
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
return this;
@@ -1397,66 +1399,77 @@ public com.google.cloud.aiplatform.v1.HyperparameterTuningJob build() {
public com.google.cloud.aiplatform.v1.HyperparameterTuningJob buildPartial() {
com.google.cloud.aiplatform.v1.HyperparameterTuningJob result =
new com.google.cloud.aiplatform.v1.HyperparameterTuningJob(this);
- int from_bitField0_ = bitField0_;
- result.name_ = name_;
- result.displayName_ = displayName_;
- if (studySpecBuilder_ == null) {
- result.studySpec_ = studySpec_;
- } else {
- result.studySpec_ = studySpecBuilder_.build();
- }
- result.maxTrialCount_ = maxTrialCount_;
- result.parallelTrialCount_ = parallelTrialCount_;
- result.maxFailedTrialCount_ = maxFailedTrialCount_;
- if (trialJobSpecBuilder_ == null) {
- result.trialJobSpec_ = trialJobSpec_;
- } else {
- result.trialJobSpec_ = trialJobSpecBuilder_.build();
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.cloud.aiplatform.v1.HyperparameterTuningJob result) {
if (trialsBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0)) {
+ if (((bitField0_ & 0x00000080) != 0)) {
trials_ = java.util.Collections.unmodifiableList(trials_);
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000080);
}
result.trials_ = trials_;
} else {
result.trials_ = trialsBuilder_.build();
}
- result.state_ = state_;
- if (createTimeBuilder_ == null) {
- result.createTime_ = createTime_;
- } else {
- result.createTime_ = createTimeBuilder_.build();
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.HyperparameterTuningJob result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
}
- if (startTimeBuilder_ == null) {
- result.startTime_ = startTime_;
- } else {
- result.startTime_ = startTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.displayName_ = displayName_;
}
- if (endTimeBuilder_ == null) {
- result.endTime_ = endTime_;
- } else {
- result.endTime_ = endTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.studySpec_ = studySpecBuilder_ == null ? studySpec_ : studySpecBuilder_.build();
}
- if (updateTimeBuilder_ == null) {
- result.updateTime_ = updateTime_;
- } else {
- result.updateTime_ = updateTimeBuilder_.build();
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.maxTrialCount_ = maxTrialCount_;
}
- if (errorBuilder_ == null) {
- result.error_ = error_;
- } else {
- result.error_ = errorBuilder_.build();
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.parallelTrialCount_ = parallelTrialCount_;
}
- result.labels_ = internalGetLabels();
- result.labels_.makeImmutable();
- if (encryptionSpecBuilder_ == null) {
- result.encryptionSpec_ = encryptionSpec_;
- } else {
- result.encryptionSpec_ = encryptionSpecBuilder_.build();
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.maxFailedTrialCount_ = maxFailedTrialCount_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.trialJobSpec_ =
+ trialJobSpecBuilder_ == null ? trialJobSpec_ : trialJobSpecBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000100) != 0)) {
+ result.state_ = state_;
+ }
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000800) != 0)) {
+ result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00001000) != 0)) {
+ result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00002000) != 0)) {
+ result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00004000) != 0)) {
+ result.labels_ = internalGetLabels();
+ result.labels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00008000) != 0)) {
+ result.encryptionSpec_ =
+ encryptionSpecBuilder_ == null ? encryptionSpec_ : encryptionSpecBuilder_.build();
}
- onBuilt();
- return result;
}
@java.lang.Override
@@ -1507,10 +1520,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.HyperparameterTuningJob
return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
+ bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDisplayName().isEmpty()) {
displayName_ = other.displayName_;
+ bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasStudySpec()) {
@@ -1532,7 +1547,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.HyperparameterTuningJob
if (!other.trials_.isEmpty()) {
if (trials_.isEmpty()) {
trials_ = other.trials_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureTrialsIsMutable();
trials_.addAll(other.trials_);
@@ -1545,7 +1560,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.HyperparameterTuningJob
trialsBuilder_.dispose();
trialsBuilder_ = null;
trials_ = other.trials_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000080);
trialsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTrialsFieldBuilder()
@@ -1574,6 +1589,7 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.HyperparameterTuningJob
mergeError(other.getError());
}
internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+ bitField0_ |= 0x00004000;
if (other.hasEncryptionSpec()) {
mergeEncryptionSpec(other.getEncryptionSpec());
}
@@ -1606,43 +1622,43 @@ public Builder mergeFrom(
case 10:
{
name_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000001;
break;
} // case 10
case 18:
{
displayName_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 34:
{
input.readMessage(getStudySpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000004;
break;
} // case 34
case 40:
{
maxTrialCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000008;
break;
} // case 40
case 48:
{
parallelTrialCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000010;
break;
} // case 48
case 56:
{
maxFailedTrialCount_ = input.readInt32();
-
+ bitField0_ |= 0x00000020;
break;
} // case 56
case 66:
{
input.readMessage(getTrialJobSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000040;
break;
} // case 66
case 74:
@@ -1661,37 +1677,37 @@ public Builder mergeFrom(
case 80:
{
state_ = input.readEnum();
-
+ bitField0_ |= 0x00000100;
break;
} // case 80
case 90:
{
input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000200;
break;
} // case 90
case 98:
{
input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000400;
break;
} // case 98
case 106:
{
input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00000800;
break;
} // case 106
case 114:
{
input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00001000;
break;
} // case 114
case 122:
{
input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00002000;
break;
} // case 122
case 130:
@@ -1703,12 +1719,13 @@ public Builder mergeFrom(
internalGetMutableLabels()
.getMutableMap()
.put(labels__.getKey(), labels__.getValue());
+ bitField0_ |= 0x00004000;
break;
} // case 130
case 138:
{
input.readMessage(getEncryptionSpecFieldBuilder().getBuilder(), extensionRegistry);
-
+ bitField0_ |= 0x00008000;
break;
} // case 138
default:
@@ -1791,8 +1808,8 @@ public Builder setName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1808,8 +1825,8 @@ public Builder setName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearName() {
-
name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1830,8 +1847,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
name_ = value;
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -1903,8 +1920,8 @@ public Builder setDisplayName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1922,8 +1939,8 @@ public Builder setDisplayName(java.lang.String value) {
* @return This builder for chaining.
*/
public Builder clearDisplayName() {
-
displayName_ = getDefaultInstance().getDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1946,8 +1963,8 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
-
displayName_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1972,7 +1989,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
* @return Whether the studySpec field is set.
*/
public boolean hasStudySpec() {
- return studySpecBuilder_ != null || studySpec_ != null;
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
*
@@ -2013,11 +2030,11 @@ public Builder setStudySpec(com.google.cloud.aiplatform.v1.StudySpec value) {
throw new NullPointerException();
}
studySpec_ = value;
- onChanged();
} else {
studySpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -2034,11 +2051,11 @@ public Builder setStudySpec(com.google.cloud.aiplatform.v1.StudySpec value) {
public Builder setStudySpec(com.google.cloud.aiplatform.v1.StudySpec.Builder builderForValue) {
if (studySpecBuilder_ == null) {
studySpec_ = builderForValue.build();
- onChanged();
} else {
studySpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -2054,19 +2071,18 @@ public Builder setStudySpec(com.google.cloud.aiplatform.v1.StudySpec.Builder bui
*/
public Builder mergeStudySpec(com.google.cloud.aiplatform.v1.StudySpec value) {
if (studySpecBuilder_ == null) {
- if (studySpec_ != null) {
- studySpec_ =
- com.google.cloud.aiplatform.v1.StudySpec.newBuilder(studySpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000004) != 0)
+ && studySpec_ != null
+ && studySpec_ != com.google.cloud.aiplatform.v1.StudySpec.getDefaultInstance()) {
+ getStudySpecBuilder().mergeFrom(value);
} else {
studySpec_ = value;
}
- onChanged();
} else {
studySpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
/**
@@ -2081,14 +2097,13 @@ public Builder mergeStudySpec(com.google.cloud.aiplatform.v1.StudySpec value) {
*
*/
public Builder clearStudySpec() {
- if (studySpecBuilder_ == null) {
- studySpec_ = null;
- onChanged();
- } else {
- studySpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ studySpec_ = null;
+ if (studySpecBuilder_ != null) {
+ studySpecBuilder_.dispose();
studySpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2103,7 +2118,7 @@ public Builder clearStudySpec() {
*
*/
public com.google.cloud.aiplatform.v1.StudySpec.Builder getStudySpecBuilder() {
-
+ bitField0_ |= 0x00000004;
onChanged();
return getStudySpecFieldBuilder().getBuilder();
}
@@ -2186,6 +2201,7 @@ public int getMaxTrialCount() {
public Builder setMaxTrialCount(int value) {
maxTrialCount_ = value;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -2201,7 +2217,7 @@ public Builder setMaxTrialCount(int value) {
* @return This builder for chaining.
*/
public Builder clearMaxTrialCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000008);
maxTrialCount_ = 0;
onChanged();
return this;
@@ -2238,6 +2254,7 @@ public int getParallelTrialCount() {
public Builder setParallelTrialCount(int value) {
parallelTrialCount_ = value;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -2253,7 +2270,7 @@ public Builder setParallelTrialCount(int value) {
* @return This builder for chaining.
*/
public Builder clearParallelTrialCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000010);
parallelTrialCount_ = 0;
onChanged();
return this;
@@ -2296,6 +2313,7 @@ public int getMaxFailedTrialCount() {
public Builder setMaxFailedTrialCount(int value) {
maxFailedTrialCount_ = value;
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -2314,7 +2332,7 @@ public Builder setMaxFailedTrialCount(int value) {
* @return This builder for chaining.
*/
public Builder clearMaxFailedTrialCount() {
-
+ bitField0_ = (bitField0_ & ~0x00000020);
maxFailedTrialCount_ = 0;
onChanged();
return this;
@@ -2341,7 +2359,7 @@ public Builder clearMaxFailedTrialCount() {
* @return Whether the trialJobSpec field is set.
*/
public boolean hasTrialJobSpec() {
- return trialJobSpecBuilder_ != null || trialJobSpec_ != null;
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
*
@@ -2384,11 +2402,11 @@ public Builder setTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec valu
throw new NullPointerException();
}
trialJobSpec_ = value;
- onChanged();
} else {
trialJobSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2407,11 +2425,11 @@ public Builder setTrialJobSpec(
com.google.cloud.aiplatform.v1.CustomJobSpec.Builder builderForValue) {
if (trialJobSpecBuilder_ == null) {
trialJobSpec_ = builderForValue.build();
- onChanged();
} else {
trialJobSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2428,19 +2446,18 @@ public Builder setTrialJobSpec(
*/
public Builder mergeTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec value) {
if (trialJobSpecBuilder_ == null) {
- if (trialJobSpec_ != null) {
- trialJobSpec_ =
- com.google.cloud.aiplatform.v1.CustomJobSpec.newBuilder(trialJobSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00000040) != 0)
+ && trialJobSpec_ != null
+ && trialJobSpec_ != com.google.cloud.aiplatform.v1.CustomJobSpec.getDefaultInstance()) {
+ getTrialJobSpecBuilder().mergeFrom(value);
} else {
trialJobSpec_ = value;
}
- onChanged();
} else {
trialJobSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000040;
+ onChanged();
return this;
}
/**
@@ -2456,14 +2473,13 @@ public Builder mergeTrialJobSpec(com.google.cloud.aiplatform.v1.CustomJobSpec va
*
*/
public Builder clearTrialJobSpec() {
- if (trialJobSpecBuilder_ == null) {
- trialJobSpec_ = null;
- onChanged();
- } else {
- trialJobSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00000040);
+ trialJobSpec_ = null;
+ if (trialJobSpecBuilder_ != null) {
+ trialJobSpecBuilder_.dispose();
trialJobSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -2479,7 +2495,7 @@ public Builder clearTrialJobSpec() {
*
*/
public com.google.cloud.aiplatform.v1.CustomJobSpec.Builder getTrialJobSpecBuilder() {
-
+ bitField0_ |= 0x00000040;
onChanged();
return getTrialJobSpecFieldBuilder().getBuilder();
}
@@ -2537,9 +2553,9 @@ public com.google.cloud.aiplatform.v1.CustomJobSpecOrBuilder getTrialJobSpecOrBu
java.util.Collections.emptyList();
private void ensureTrialsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!((bitField0_ & 0x00000080) != 0)) {
trials_ = new java.util.ArrayList(trials_);
- bitField0_ |= 0x00000001;
+ bitField0_ |= 0x00000080;
}
}
@@ -2776,7 +2792,7 @@ public Builder addAllTrials(
public Builder clearTrials() {
if (trialsBuilder_ == null) {
trials_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
} else {
trialsBuilder_.clear();
@@ -2911,7 +2927,7 @@ public java.util.List getTrialsBui
com.google.cloud.aiplatform.v1.Trial,
com.google.cloud.aiplatform.v1.Trial.Builder,
com.google.cloud.aiplatform.v1.TrialOrBuilder>(
- trials_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ trials_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean());
trials_ = null;
}
return trialsBuilder_;
@@ -2950,8 +2966,8 @@ public int getStateValue() {
* @return This builder for chaining.
*/
public Builder setStateValue(int value) {
-
state_ = value;
+ bitField0_ |= 0x00000100;
onChanged();
return this;
}
@@ -2970,9 +2986,8 @@ public Builder setStateValue(int value) {
*/
@java.lang.Override
public com.google.cloud.aiplatform.v1.JobState getState() {
- @SuppressWarnings("deprecation")
com.google.cloud.aiplatform.v1.JobState result =
- com.google.cloud.aiplatform.v1.JobState.valueOf(state_);
+ com.google.cloud.aiplatform.v1.JobState.forNumber(state_);
return result == null ? com.google.cloud.aiplatform.v1.JobState.UNRECOGNIZED : result;
}
/**
@@ -2993,7 +3008,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.JobState value) {
if (value == null) {
throw new NullPointerException();
}
-
+ bitField0_ |= 0x00000100;
state_ = value.getNumber();
onChanged();
return this;
@@ -3012,7 +3027,7 @@ public Builder setState(com.google.cloud.aiplatform.v1.JobState value) {
* @return This builder for chaining.
*/
public Builder clearState() {
-
+ bitField0_ = (bitField0_ & ~0x00000100);
state_ = 0;
onChanged();
return this;
@@ -3038,7 +3053,7 @@ public Builder clearState() {
* @return Whether the createTime field is set.
*/
public boolean hasCreateTime() {
- return createTimeBuilder_ != null || createTime_ != null;
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
*
@@ -3079,11 +3094,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
createTime_ = value;
- onChanged();
} else {
createTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3100,11 +3115,11 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (createTimeBuilder_ == null) {
createTime_ = builderForValue.build();
- onChanged();
} else {
createTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3120,17 +3135,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
if (createTimeBuilder_ == null) {
- if (createTime_ != null) {
- createTime_ =
- com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000200) != 0)
+ && createTime_ != null
+ && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getCreateTimeBuilder().mergeFrom(value);
} else {
createTime_ = value;
}
- onChanged();
} else {
createTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000200;
+ onChanged();
return this;
}
/**
@@ -3145,14 +3161,13 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearCreateTime() {
- if (createTimeBuilder_ == null) {
- createTime_ = null;
- onChanged();
- } else {
- createTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000200);
+ createTime_ = null;
+ if (createTimeBuilder_ != null) {
+ createTimeBuilder_.dispose();
createTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3167,7 +3182,7 @@ public Builder clearCreateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
-
+ bitField0_ |= 0x00000200;
onChanged();
return getCreateTimeFieldBuilder().getBuilder();
}
@@ -3240,7 +3255,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
- return startTimeBuilder_ != null || startTime_ != null;
+ return ((bitField0_ & 0x00000400) != 0);
}
/**
*
@@ -3281,11 +3296,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
startTime_ = value;
- onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3303,11 +3318,11 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) {
public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
- onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3324,17 +3339,18 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
- if (startTime_ != null) {
- startTime_ =
- com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000400) != 0)
+ && startTime_ != null
+ && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getStartTimeBuilder().mergeFrom(value);
} else {
startTime_ = value;
}
- onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000400;
+ onChanged();
return this;
}
/**
@@ -3350,14 +3366,13 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearStartTime() {
- if (startTimeBuilder_ == null) {
- startTime_ = null;
- onChanged();
- } else {
- startTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000400);
+ startTime_ = null;
+ if (startTimeBuilder_ != null) {
+ startTimeBuilder_.dispose();
startTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3373,7 +3388,7 @@ public Builder clearStartTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
-
+ bitField0_ |= 0x00000400;
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
@@ -3446,7 +3461,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
* @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
- return endTimeBuilder_ != null || endTime_ != null;
+ return ((bitField0_ & 0x00000800) != 0);
}
/**
*
@@ -3487,11 +3502,11 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
endTime_ = value;
- onChanged();
} else {
endTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3509,11 +3524,11 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) {
public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
- onChanged();
} else {
endTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3530,17 +3545,18 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
*/
public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
- if (endTime_ != null) {
- endTime_ =
- com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00000800) != 0)
+ && endTime_ != null
+ && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getEndTimeBuilder().mergeFrom(value);
} else {
endTime_ = value;
}
- onChanged();
} else {
endTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00000800;
+ onChanged();
return this;
}
/**
@@ -3556,14 +3572,13 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearEndTime() {
- if (endTimeBuilder_ == null) {
- endTime_ = null;
- onChanged();
- } else {
- endTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00000800);
+ endTime_ = null;
+ if (endTimeBuilder_ != null) {
+ endTimeBuilder_.dispose();
endTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3579,7 +3594,7 @@ public Builder clearEndTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
-
+ bitField0_ |= 0x00000800;
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
@@ -3652,7 +3667,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
* @return Whether the updateTime field is set.
*/
public boolean hasUpdateTime() {
- return updateTimeBuilder_ != null || updateTime_ != null;
+ return ((bitField0_ & 0x00001000) != 0);
}
/**
*
@@ -3695,11 +3710,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
throw new NullPointerException();
}
updateTime_ = value;
- onChanged();
} else {
updateTimeBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
@@ -3717,11 +3732,11 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (updateTimeBuilder_ == null) {
updateTime_ = builderForValue.build();
- onChanged();
} else {
updateTimeBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
@@ -3738,17 +3753,18 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*/
public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
if (updateTimeBuilder_ == null) {
- if (updateTime_ != null) {
- updateTime_ =
- com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00001000) != 0)
+ && updateTime_ != null
+ && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getUpdateTimeBuilder().mergeFrom(value);
} else {
updateTime_ = value;
}
- onChanged();
} else {
updateTimeBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00001000;
+ onChanged();
return this;
}
/**
@@ -3764,14 +3780,13 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*/
public Builder clearUpdateTime() {
- if (updateTimeBuilder_ == null) {
- updateTime_ = null;
- onChanged();
- } else {
- updateTime_ = null;
+ bitField0_ = (bitField0_ & ~0x00001000);
+ updateTime_ = null;
+ if (updateTimeBuilder_ != null) {
+ updateTimeBuilder_.dispose();
updateTimeBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3787,7 +3802,7 @@ public Builder clearUpdateTime() {
*
*/
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+ bitField0_ |= 0x00001000;
onChanged();
return getUpdateTimeFieldBuilder().getBuilder();
}
@@ -3858,7 +3873,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
* @return Whether the error field is set.
*/
public boolean hasError() {
- return errorBuilder_ != null || error_ != null;
+ return ((bitField0_ & 0x00002000) != 0);
}
/**
*
@@ -3895,11 +3910,11 @@ public Builder setError(com.google.rpc.Status value) {
throw new NullPointerException();
}
error_ = value;
- onChanged();
} else {
errorBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -3915,11 +3930,11 @@ public Builder setError(com.google.rpc.Status value) {
public Builder setError(com.google.rpc.Status.Builder builderForValue) {
if (errorBuilder_ == null) {
error_ = builderForValue.build();
- onChanged();
} else {
errorBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -3934,16 +3949,18 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
*/
public Builder mergeError(com.google.rpc.Status value) {
if (errorBuilder_ == null) {
- if (error_ != null) {
- error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial();
+ if (((bitField0_ & 0x00002000) != 0)
+ && error_ != null
+ && error_ != com.google.rpc.Status.getDefaultInstance()) {
+ getErrorBuilder().mergeFrom(value);
} else {
error_ = value;
}
- onChanged();
} else {
errorBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00002000;
+ onChanged();
return this;
}
/**
@@ -3957,14 +3974,13 @@ public Builder mergeError(com.google.rpc.Status value) {
* .google.rpc.Status error = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearError() {
- if (errorBuilder_ == null) {
- error_ = null;
- onChanged();
- } else {
- error_ = null;
+ bitField0_ = (bitField0_ & ~0x00002000);
+ error_ = null;
+ if (errorBuilder_ != null) {
+ errorBuilder_.dispose();
errorBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -3978,7 +3994,7 @@ public Builder clearError() {
* .google.rpc.Status error = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.rpc.Status.Builder getErrorBuilder() {
-
+ bitField0_ |= 0x00002000;
onChanged();
return getErrorFieldBuilder().getBuilder();
}
@@ -4034,14 +4050,14 @@ private com.google.protobuf.MapField interna
private com.google.protobuf.MapField
internalGetMutableLabels() {
- onChanged();
- ;
if (labels_ == null) {
labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
}
if (!labels_.isMutable()) {
labels_ = labels_.copy();
}
+ bitField0_ |= 0x00004000;
+ onChanged();
return labels_;
}
@@ -4105,8 +4121,10 @@ public java.util.Map getLabelsMap() {
* map<string, string> labels = 16;
*/
@java.lang.Override
- public java.lang.String getLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -4139,6 +4157,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
}
public Builder clearLabels() {
+ bitField0_ = (bitField0_ & ~0x00004000);
internalGetMutableLabels().getMutableMap().clear();
return this;
}
@@ -4165,6 +4184,7 @@ public Builder removeLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableLabels() {
+ bitField0_ |= 0x00004000;
return internalGetMutableLabels().getMutableMap();
}
/**
@@ -4187,8 +4207,8 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00004000;
return this;
}
/**
@@ -4206,6 +4226,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllLabels(java.util.Map values) {
internalGetMutableLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00004000;
return this;
}
@@ -4229,7 +4250,7 @@ public Builder putAllLabels(java.util.Map va
* @return Whether the encryptionSpec field is set.
*/
public boolean hasEncryptionSpec() {
- return encryptionSpecBuilder_ != null || encryptionSpec_ != null;
+ return ((bitField0_ & 0x00008000) != 0);
}
/**
*
@@ -4270,11 +4291,11 @@ public Builder setEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec v
throw new NullPointerException();
}
encryptionSpec_ = value;
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(value);
}
-
+ bitField0_ |= 0x00008000;
+ onChanged();
return this;
}
/**
@@ -4292,11 +4313,11 @@ public Builder setEncryptionSpec(
com.google.cloud.aiplatform.v1.EncryptionSpec.Builder builderForValue) {
if (encryptionSpecBuilder_ == null) {
encryptionSpec_ = builderForValue.build();
- onChanged();
} else {
encryptionSpecBuilder_.setMessage(builderForValue.build());
}
-
+ bitField0_ |= 0x00008000;
+ onChanged();
return this;
}
/**
@@ -4312,19 +4333,19 @@ public Builder setEncryptionSpec(
*/
public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec value) {
if (encryptionSpecBuilder_ == null) {
- if (encryptionSpec_ != null) {
- encryptionSpec_ =
- com.google.cloud.aiplatform.v1.EncryptionSpec.newBuilder(encryptionSpec_)
- .mergeFrom(value)
- .buildPartial();
+ if (((bitField0_ & 0x00008000) != 0)
+ && encryptionSpec_ != null
+ && encryptionSpec_
+ != com.google.cloud.aiplatform.v1.EncryptionSpec.getDefaultInstance()) {
+ getEncryptionSpecBuilder().mergeFrom(value);
} else {
encryptionSpec_ = value;
}
- onChanged();
} else {
encryptionSpecBuilder_.mergeFrom(value);
}
-
+ bitField0_ |= 0x00008000;
+ onChanged();
return this;
}
/**
@@ -4339,14 +4360,13 @@ public Builder mergeEncryptionSpec(com.google.cloud.aiplatform.v1.EncryptionSpec
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17;
*/
public Builder clearEncryptionSpec() {
- if (encryptionSpecBuilder_ == null) {
- encryptionSpec_ = null;
- onChanged();
- } else {
- encryptionSpec_ = null;
+ bitField0_ = (bitField0_ & ~0x00008000);
+ encryptionSpec_ = null;
+ if (encryptionSpecBuilder_ != null) {
+ encryptionSpecBuilder_.dispose();
encryptionSpecBuilder_ = null;
}
-
+ onChanged();
return this;
}
/**
@@ -4361,7 +4381,7 @@ public Builder clearEncryptionSpec() {
* .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17;
*/
public com.google.cloud.aiplatform.v1.EncryptionSpec.Builder getEncryptionSpecBuilder() {
-
+ bitField0_ |= 0x00008000;
onChanged();
return getEncryptionSpecFieldBuilder().getBuilder();
}
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobOrBuilder.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobOrBuilder.java
index d3766143d42b..01d86fa5bd3a 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobOrBuilder.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/HyperparameterTuningJobOrBuilder.java
@@ -554,7 +554,6 @@ public interface HyperparameterTuningJobOrBuilder
*
* map<string, string> labels = 16;
*/
-
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IdMatcher.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IdMatcher.java
index fbcb1f95a71a..973a8dffc220 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IdMatcher.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/IdMatcher.java
@@ -68,6 +68,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
public static final int IDS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
private com.google.protobuf.LazyStringList ids_;
/**
*
@@ -347,6 +349,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
ids_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
@@ -376,14 +379,24 @@ public com.google.cloud.aiplatform.v1.IdMatcher build() {
public com.google.cloud.aiplatform.v1.IdMatcher buildPartial() {
com.google.cloud.aiplatform.v1.IdMatcher result =
new com.google.cloud.aiplatform.v1.IdMatcher(this);
- int from_bitField0_ = bitField0_;
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(com.google.cloud.aiplatform.v1.IdMatcher result) {
if (((bitField0_ & 0x00000001) != 0)) {
ids_ = ids_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.ids_ = ids_;
- onBuilt();
- return result;
+ }
+
+ private void buildPartial0(com.google.cloud.aiplatform.v1.IdMatcher result) {
+ int from_bitField0_ = bitField0_;
}
@java.lang.Override
diff --git a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportDataConfig.java b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportDataConfig.java
index 7f0d4821357c..0b8c87397608 100644
--- a/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportDataConfig.java
+++ b/java-aiplatform/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/ImportDataConfig.java
@@ -189,6 +189,7 @@ private static final class DataItemLabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField dataItemLabels_;
private com.google.protobuf.MapField
@@ -284,8 +285,10 @@ public java.util.Map getDataItemLabelsMap()
* map<string, string> data_item_labels = 2;
*/
@java.lang.Override
- public java.lang.String getDataItemLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getDataItemLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -338,6 +341,7 @@ private static final class AnnotationLabelsDefaultEntryHolder {
"");
}
+ @SuppressWarnings("serial")
private com.google.protobuf.MapField annotationLabels_;
private com.google.protobuf.MapField
@@ -424,8 +428,10 @@ public java.util.Map getAnnotationLabelsMap(
* map<string, string> annotation_labels = 3;
*/
@java.lang.Override
- public java.lang.String getAnnotationLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getAnnotationLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -463,7 +469,9 @@ public java.lang.String getAnnotationLabelsOrThrow(java.lang.String key) {
}
public static final int IMPORT_SCHEMA_URI_FIELD_NUMBER = 4;
- private volatile java.lang.Object importSchemaUri_;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object importSchemaUri_ = "";
/**
*
*
@@ -797,13 +805,13 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
@java.lang.Override
public Builder clear() {
super.clear();
+ bitField0_ = 0;
if (gcsSourceBuilder_ != null) {
gcsSourceBuilder_.clear();
}
internalGetMutableDataItemLabels().clear();
internalGetMutableAnnotationLabels().clear();
importSchemaUri_ = "";
-
sourceCase_ = 0;
source_ = null;
return this;
@@ -833,24 +841,37 @@ public com.google.cloud.aiplatform.v1.ImportDataConfig build() {
public com.google.cloud.aiplatform.v1.ImportDataConfig buildPartial() {
com.google.cloud.aiplatform.v1.ImportDataConfig result =
new com.google.cloud.aiplatform.v1.ImportDataConfig(this);
- int from_bitField0_ = bitField0_;
- if (sourceCase_ == 1) {
- if (gcsSourceBuilder_ == null) {
- result.source_ = source_;
- } else {
- result.source_ = gcsSourceBuilder_.build();
- }
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- result.dataItemLabels_ = internalGetDataItemLabels();
- result.dataItemLabels_.makeImmutable();
- result.annotationLabels_ = internalGetAnnotationLabels();
- result.annotationLabels_.makeImmutable();
- result.importSchemaUri_ = importSchemaUri_;
- result.sourceCase_ = sourceCase_;
+ buildPartialOneofs(result);
onBuilt();
return result;
}
+ private void buildPartial0(com.google.cloud.aiplatform.v1.ImportDataConfig result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.dataItemLabels_ = internalGetDataItemLabels();
+ result.dataItemLabels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.annotationLabels_ = internalGetAnnotationLabels();
+ result.annotationLabels_.makeImmutable();
+ }
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.importSchemaUri_ = importSchemaUri_;
+ }
+ }
+
+ private void buildPartialOneofs(com.google.cloud.aiplatform.v1.ImportDataConfig result) {
+ result.sourceCase_ = sourceCase_;
+ result.source_ = this.source_;
+ if (sourceCase_ == 1 && gcsSourceBuilder_ != null) {
+ result.source_ = gcsSourceBuilder_.build();
+ }
+ }
+
@java.lang.Override
public Builder clone() {
return super.clone();
@@ -898,9 +919,12 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1.ImportDataConfig other)
if (other == com.google.cloud.aiplatform.v1.ImportDataConfig.getDefaultInstance())
return this;
internalGetMutableDataItemLabels().mergeFrom(other.internalGetDataItemLabels());
+ bitField0_ |= 0x00000002;
internalGetMutableAnnotationLabels().mergeFrom(other.internalGetAnnotationLabels());
+ bitField0_ |= 0x00000004;
if (!other.getImportSchemaUri().isEmpty()) {
importSchemaUri_ = other.importSchemaUri_;
+ bitField0_ |= 0x00000008;
onChanged();
}
switch (other.getSourceCase()) {
@@ -955,6 +979,7 @@ public Builder mergeFrom(
internalGetMutableDataItemLabels()
.getMutableMap()
.put(dataItemLabels__.getKey(), dataItemLabels__.getValue());
+ bitField0_ |= 0x00000002;
break;
} // case 18
case 26:
@@ -967,12 +992,13 @@ public Builder mergeFrom(
internalGetMutableAnnotationLabels()
.getMutableMap()
.put(annotationLabels__.getKey(), annotationLabels__.getValue());
+ bitField0_ |= 0x00000004;
break;
} // case 26
case 34:
{
importSchemaUri_ = input.readStringRequireUtf8();
-
+ bitField0_ |= 0x00000008;
break;
} // case 34
default:
@@ -1213,7 +1239,6 @@ public com.google.cloud.aiplatform.v1.GcsSourceOrBuilder getGcsSourceOrBuilder()
}
sourceCase_ = 1;
onChanged();
- ;
return gcsSourceBuilder_;
}
@@ -1230,8 +1255,6 @@ public com.google.cloud.aiplatform.v1.GcsSourceOrBuilder getGcsSourceOrBuilder()
private com.google.protobuf.MapField
internalGetMutableDataItemLabels() {
- onChanged();
- ;
if (dataItemLabels_ == null) {
dataItemLabels_ =
com.google.protobuf.MapField.newMapField(DataItemLabelsDefaultEntryHolder.defaultEntry);
@@ -1239,6 +1262,8 @@ public com.google.cloud.aiplatform.v1.GcsSourceOrBuilder getGcsSourceOrBuilder()
if (!dataItemLabels_.isMutable()) {
dataItemLabels_ = dataItemLabels_.copy();
}
+ bitField0_ |= 0x00000002;
+ onChanged();
return dataItemLabels_;
}
@@ -1326,8 +1351,10 @@ public java.util.Map getDataItemLabelsMap()
* map<string, string> data_item_labels = 2;
*/
@java.lang.Override
- public java.lang.String getDataItemLabelsOrDefault(
- java.lang.String key, java.lang.String defaultValue) {
+ public /* nullable */ java.lang.String getDataItemLabelsOrDefault(
+ java.lang.String key,
+ /* nullable */
+ java.lang.String defaultValue) {
if (key == null) {
throw new NullPointerException("map key");
}
@@ -1368,6 +1395,7 @@ public java.lang.String getDataItemLabelsOrThrow(java.lang.String key) {
}
public Builder clearDataItemLabels() {
+ bitField0_ = (bitField0_ & ~0x00000002);
internalGetMutableDataItemLabels().getMutableMap().clear();
return this;
}
@@ -1402,6 +1430,7 @@ public Builder removeDataItemLabels(java.lang.String key) {
/** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map getMutableDataItemLabels() {
+ bitField0_ |= 0x00000002;
return internalGetMutableDataItemLabels().getMutableMap();
}
/**
@@ -1432,8 +1461,8 @@ public Builder putDataItemLabels(java.lang.String key, java.lang.String value) {
if (value == null) {
throw new NullPointerException("map value");
}
-
internalGetMutableDataItemLabels().getMutableMap().put(key, value);
+ bitField0_ |= 0x00000002;
return this;
}
/**
@@ -1459,6 +1488,7 @@ public Builder putDataItemLabels(java.lang.String key, java.lang.String value) {
*/
public Builder putAllDataItemLabels(java.util.Map values) {
internalGetMutableDataItemLabels().getMutableMap().putAll(values);
+ bitField0_ |= 0x00000002;
return this;
}
@@ -1475,8 +1505,6 @@ public Builder putAllDataItemLabels(java.util.Map