diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java index 6bd6bbdf..3eaf0fe1 100644 --- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java +++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/Common.java @@ -32,6 +32,18 @@ public interface FixedOrPercentOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.FixedOrPercent) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+ * Specifies a fixed value. + *+ * + *
int32 fixed = 1;
+ *
+ * @return Whether the fixed field is set.
+ */
+ boolean hasFixed();
/**
*
*
@@ -45,6 +57,19 @@ public interface FixedOrPercentOrBuilder
*/
int getFixed();
+ /**
+ *
+ *
+ * + * Specifies the relative value defined as a percentage, which will be + * multiplied by a reference value. + *+ * + *
int32 percent = 2;
+ *
+ * @return Whether the percent field is set.
+ */
+ boolean hasPercent();
/**
*
*
@@ -206,6 +231,21 @@ public ModeCase getModeCase() {
}
public static final int FIXED_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * Specifies a fixed value. + *+ * + *
int32 fixed = 1;
+ *
+ * @return Whether the fixed field is set.
+ */
+ @java.lang.Override
+ public boolean hasFixed() {
+ return modeCase_ == 1;
+ }
/**
*
*
@@ -226,6 +266,22 @@ public int getFixed() {
}
public static final int PERCENT_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Specifies the relative value defined as a percentage, which will be + * multiplied by a reference value. + *+ * + *
int32 percent = 2;
+ *
+ * @return Whether the percent field is set.
+ */
+ @java.lang.Override
+ public boolean hasPercent() {
+ return modeCase_ == 2;
+ }
/**
*
*
@@ -631,6 +687,20 @@ public Builder clearMode() {
return this;
}
+ /**
+ *
+ *
+ * + * Specifies a fixed value. + *+ * + *
int32 fixed = 1;
+ *
+ * @return Whether the fixed field is set.
+ */
+ public boolean hasFixed() {
+ return modeCase_ == 1;
+ }
/**
*
*
@@ -686,6 +756,21 @@ public Builder clearFixed() {
return this;
}
+ /**
+ *
+ *
+ * + * Specifies the relative value defined as a percentage, which will be + * multiplied by a reference value. + *+ * + *
int32 percent = 2;
+ *
+ * @return Whether the percent field is set.
+ */
+ public boolean hasPercent() {
+ return modeCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java
index 829cdfec..6874e704 100644
--- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java
+++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchDeployments.java
@@ -9385,6 +9385,21 @@ public interface MonthlyScheduleOrBuilder
com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonthOrBuilder
getWeekDayOfMonthOrBuilder();
+ /**
+ *
+ *
+ * + * Required. One day of the month. 1-31 indicates the 1st to the 31st day. + * -1 indicates the last day of the month. Months without the target day + * will be skipped. For example, a schedule to run "every month on the 31st" + * will not run in February, April, June, etc. + *+ * + *
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the monthDay field is set.
+ */
+ boolean hasMonthDay();
/**
*
*
@@ -9622,6 +9637,24 @@ public com.google.cloud.osconfig.v1.PatchDeployments.WeekDayOfMonth getWeekDayOf
}
public static final int MONTH_DAY_FIELD_NUMBER = 2;
+ /**
+ *
+ *
+ * + * Required. One day of the month. 1-31 indicates the 1st to the 31st day. + * -1 indicates the last day of the month. Months without the target day + * will be skipped. For example, a schedule to run "every month on the 31st" + * will not run in February, April, June, etc. + *+ * + *
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the monthDay field is set.
+ */
+ @java.lang.Override
+ public boolean hasMonthDay() {
+ return dayOfMonthCase_ == 2;
+ }
/**
*
*
@@ -10273,6 +10306,23 @@ public Builder clearWeekDayOfMonth() {
return weekDayOfMonthBuilder_;
}
+ /**
+ *
+ *
+ * + * Required. One day of the month. 1-31 indicates the 1st to the 31st day. + * -1 indicates the last day of the month. Months without the target day + * will be skipped. For example, a schedule to run "every month on the 31st" + * will not run in February, April, June, etc. + *+ * + *
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return Whether the monthDay field is set.
+ */
+ public boolean hasMonthDay() {
+ return dayOfMonthCase_ == 2;
+ }
/**
*
*
diff --git a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java
index c88d5520..d431c1b4 100644
--- a/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java
+++ b/proto-google-cloud-os-config-v1/src/main/java/com/google/cloud/osconfig/v1/PatchJobs.java
@@ -29273,6 +29273,18 @@ public interface ExecStepConfigOrBuilder
// @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.ExecStepConfig)
com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ * + * An absolute path to the executable on the VM. + *+ * + *
string local_path = 1;
+ *
+ * @return Whether the localPath field is set.
+ */
+ boolean hasLocalPath();
/**
*
*
@@ -29769,6 +29781,20 @@ public ExecutableCase getExecutableCase() {
}
public static final int LOCAL_PATH_FIELD_NUMBER = 1;
+ /**
+ *
+ *
+ * + * An absolute path to the executable on the VM. + *+ * + *
string local_path = 1;
+ *
+ * @return Whether the localPath field is set.
+ */
+ public boolean hasLocalPath() {
+ return executableCase_ == 1;
+ }
/**
*
*
@@ -30428,6 +30454,21 @@ public Builder clearExecutable() {
private int bitField0_;
+ /**
+ *
+ *
+ * + * An absolute path to the executable on the VM. + *+ * + *
string local_path = 1;
+ *
+ * @return Whether the localPath field is set.
+ */
+ @java.lang.Override
+ public boolean hasLocalPath() {
+ return executableCase_ == 1;
+ }
/**
*
*
diff --git a/synth.metadata b/synth.metadata
index 37a157d2..5c18b3d6 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-os-config.git",
- "sha": "fc13336c9a498a781b6dfe596b7301cacc936224"
+ "sha": "116cfe356da7280be1e27dd28f18409f0ce6463d"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9",
- "internalRef": "358516065"
+ "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
+ "internalRef": "359781040"
}
},
{