@@ -245,6 +245,34 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
245245 }
246246 }
247247
248+ public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 5 ;
249+ private boolean returnPartialSuccess_ = false ;
250+
251+ /**
252+ *
253+ *
254+ * <pre>
255+ * When set to `true`, operations that are reachable are returned as normal,
256+ * and those that are unreachable are returned in the
257+ * [ListOperationsResponse.unreachable] field.
258+ *
259+ * This can only be `true` when reading across collections e.g. when `parent`
260+ * is set to `"projects/example/locations/-"`.
261+ *
262+ * This field is not by default supported and will result in an
263+ * `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
264+ * service or product specific documentation.
265+ * </pre>
266+ *
267+ * <code>bool return_partial_success = 5;</code>
268+ *
269+ * @return The returnPartialSuccess.
270+ */
271+ @ java .lang .Override
272+ public boolean getReturnPartialSuccess () {
273+ return returnPartialSuccess_ ;
274+ }
275+
248276 private byte memoizedIsInitialized = -1 ;
249277
250278 @ java .lang .Override
@@ -271,6 +299,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
271299 if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (name_ )) {
272300 com .google .protobuf .GeneratedMessageV3 .writeString (output , 4 , name_ );
273301 }
302+ if (returnPartialSuccess_ != false ) {
303+ output .writeBool (5 , returnPartialSuccess_ );
304+ }
274305 getUnknownFields ().writeTo (output );
275306 }
276307
@@ -292,6 +323,9 @@ public int getSerializedSize() {
292323 if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (name_ )) {
293324 size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (4 , name_ );
294325 }
326+ if (returnPartialSuccess_ != false ) {
327+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (5 , returnPartialSuccess_ );
328+ }
295329 size += getUnknownFields ().getSerializedSize ();
296330 memoizedSize = size ;
297331 return size ;
@@ -312,6 +346,7 @@ public boolean equals(final java.lang.Object obj) {
312346 if (!getFilter ().equals (other .getFilter ())) return false ;
313347 if (getPageSize () != other .getPageSize ()) return false ;
314348 if (!getPageToken ().equals (other .getPageToken ())) return false ;
349+ if (getReturnPartialSuccess () != other .getReturnPartialSuccess ()) return false ;
315350 if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
316351 return true ;
317352 }
@@ -331,6 +366,8 @@ public int hashCode() {
331366 hash = (53 * hash ) + getPageSize ();
332367 hash = (37 * hash ) + PAGE_TOKEN_FIELD_NUMBER ;
333368 hash = (53 * hash ) + getPageToken ().hashCode ();
369+ hash = (37 * hash ) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER ;
370+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getReturnPartialSuccess ());
334371 hash = (29 * hash ) + getUnknownFields ().hashCode ();
335372 memoizedHashCode = hash ;
336373 return hash ;
@@ -476,6 +513,7 @@ public Builder clear() {
476513 filter_ = "" ;
477514 pageSize_ = 0 ;
478515 pageToken_ = "" ;
516+ returnPartialSuccess_ = false ;
479517 return this ;
480518 }
481519
@@ -524,6 +562,9 @@ private void buildPartial0(com.google.longrunning.ListOperationsRequest result)
524562 if (((from_bitField0_ & 0x00000008 ) != 0 )) {
525563 result .pageToken_ = pageToken_ ;
526564 }
565+ if (((from_bitField0_ & 0x00000010 ) != 0 )) {
566+ result .returnPartialSuccess_ = returnPartialSuccess_ ;
567+ }
527568 }
528569
529570 @ java .lang .Override
@@ -589,6 +630,9 @@ public Builder mergeFrom(com.google.longrunning.ListOperationsRequest other) {
589630 bitField0_ |= 0x00000008 ;
590631 onChanged ();
591632 }
633+ if (other .getReturnPartialSuccess () != false ) {
634+ setReturnPartialSuccess (other .getReturnPartialSuccess ());
635+ }
592636 this .mergeUnknownFields (other .getUnknownFields ());
593637 onChanged ();
594638 return this ;
@@ -639,6 +683,12 @@ public Builder mergeFrom(
639683 bitField0_ |= 0x00000001 ;
640684 break ;
641685 } // case 34
686+ case 40 :
687+ {
688+ returnPartialSuccess_ = input .readBool ();
689+ bitField0_ |= 0x00000010 ;
690+ break ;
691+ } // case 40
642692 default :
643693 {
644694 if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -1047,6 +1097,89 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
10471097 return this ;
10481098 }
10491099
1100+ private boolean returnPartialSuccess_ ;
1101+
1102+ /**
1103+ *
1104+ *
1105+ * <pre>
1106+ * When set to `true`, operations that are reachable are returned as normal,
1107+ * and those that are unreachable are returned in the
1108+ * [ListOperationsResponse.unreachable] field.
1109+ *
1110+ * This can only be `true` when reading across collections e.g. when `parent`
1111+ * is set to `"projects/example/locations/-"`.
1112+ *
1113+ * This field is not by default supported and will result in an
1114+ * `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1115+ * service or product specific documentation.
1116+ * </pre>
1117+ *
1118+ * <code>bool return_partial_success = 5;</code>
1119+ *
1120+ * @return The returnPartialSuccess.
1121+ */
1122+ @ java .lang .Override
1123+ public boolean getReturnPartialSuccess () {
1124+ return returnPartialSuccess_ ;
1125+ }
1126+
1127+ /**
1128+ *
1129+ *
1130+ * <pre>
1131+ * When set to `true`, operations that are reachable are returned as normal,
1132+ * and those that are unreachable are returned in the
1133+ * [ListOperationsResponse.unreachable] field.
1134+ *
1135+ * This can only be `true` when reading across collections e.g. when `parent`
1136+ * is set to `"projects/example/locations/-"`.
1137+ *
1138+ * This field is not by default supported and will result in an
1139+ * `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1140+ * service or product specific documentation.
1141+ * </pre>
1142+ *
1143+ * <code>bool return_partial_success = 5;</code>
1144+ *
1145+ * @param value The returnPartialSuccess to set.
1146+ * @return This builder for chaining.
1147+ */
1148+ public Builder setReturnPartialSuccess (boolean value ) {
1149+
1150+ returnPartialSuccess_ = value ;
1151+ bitField0_ |= 0x00000010 ;
1152+ onChanged ();
1153+ return this ;
1154+ }
1155+
1156+ /**
1157+ *
1158+ *
1159+ * <pre>
1160+ * When set to `true`, operations that are reachable are returned as normal,
1161+ * and those that are unreachable are returned in the
1162+ * [ListOperationsResponse.unreachable] field.
1163+ *
1164+ * This can only be `true` when reading across collections e.g. when `parent`
1165+ * is set to `"projects/example/locations/-"`.
1166+ *
1167+ * This field is not by default supported and will result in an
1168+ * `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1169+ * service or product specific documentation.
1170+ * </pre>
1171+ *
1172+ * <code>bool return_partial_success = 5;</code>
1173+ *
1174+ * @return This builder for chaining.
1175+ */
1176+ public Builder clearReturnPartialSuccess () {
1177+ bitField0_ = (bitField0_ & ~0x00000010 );
1178+ returnPartialSuccess_ = false ;
1179+ onChanged ();
1180+ return this ;
1181+ }
1182+
10501183 @ java .lang .Override
10511184 public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
10521185 return super .setUnknownFields (unknownFields );
0 commit comments