Skip to content
2 changes: 1 addition & 1 deletion generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
googleapis_commitish: 3990e05b25dcaf7ba8d6baa4255d9b012a3a6a4f
googleapis_commitish: 7b2b58ff4fb3eee3c0923af35fdee90134fabe3b
# the libraries are ordered with respect to library name, which is
# java-{library.library_name} or java-{library.api-shortname} when
# library.library_name is not defined.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,34 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
}
}

public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 5;
private boolean returnPartialSuccess_ = false;

/**
*
*
* <pre>
* When set to `true`, operations that are reachable are returned as normal,
* and those that are unreachable are returned in the
* [ListOperationsResponse.unreachable] field.
*
* This can only be `true` when reading across collections e.g. when `parent`
* is set to `"projects/example/locations/-"`.
*
* This field is not by default supported and will result in an
* `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
* service or product specific documentation.
* </pre>
*
* <code>bool return_partial_success = 5;</code>
*
* @return The returnPartialSuccess.
*/
@java.lang.Override
public boolean getReturnPartialSuccess() {
return returnPartialSuccess_;
}

private byte memoizedIsInitialized = -1;

@java.lang.Override
Expand All @@ -271,6 +299,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
}
if (returnPartialSuccess_ != false) {
output.writeBool(5, returnPartialSuccess_);
}
getUnknownFields().writeTo(output);
}

Expand All @@ -292,6 +323,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
}
if (returnPartialSuccess_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, returnPartialSuccess_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
Expand All @@ -312,6 +346,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getFilter().equals(other.getFilter())) return false;
if (getPageSize() != other.getPageSize()) return false;
if (!getPageToken().equals(other.getPageToken())) return false;
if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
Expand All @@ -331,6 +366,8 @@ public int hashCode() {
hash = (53 * hash) + getPageSize();
hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
hash = (53 * hash) + getPageToken().hashCode();
hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
Expand Down Expand Up @@ -476,6 +513,7 @@ public Builder clear() {
filter_ = "";
pageSize_ = 0;
pageToken_ = "";
returnPartialSuccess_ = false;
return this;
}

Expand Down Expand Up @@ -524,6 +562,9 @@ private void buildPartial0(com.google.longrunning.ListOperationsRequest result)
if (((from_bitField0_ & 0x00000008) != 0)) {
result.pageToken_ = pageToken_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.returnPartialSuccess_ = returnPartialSuccess_;
}
}

@java.lang.Override
Expand Down Expand Up @@ -589,6 +630,9 @@ public Builder mergeFrom(com.google.longrunning.ListOperationsRequest other) {
bitField0_ |= 0x00000008;
onChanged();
}
if (other.getReturnPartialSuccess() != false) {
setReturnPartialSuccess(other.getReturnPartialSuccess());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
Expand Down Expand Up @@ -639,6 +683,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000001;
break;
} // case 34
case 40:
{
returnPartialSuccess_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
Expand Down Expand Up @@ -1047,6 +1097,89 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
return this;
}

private boolean returnPartialSuccess_;

/**
*
*
* <pre>
* When set to `true`, operations that are reachable are returned as normal,
* and those that are unreachable are returned in the
* [ListOperationsResponse.unreachable] field.
*
* This can only be `true` when reading across collections e.g. when `parent`
* is set to `"projects/example/locations/-"`.
*
* This field is not by default supported and will result in an
* `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
* service or product specific documentation.
* </pre>
*
* <code>bool return_partial_success = 5;</code>
*
* @return The returnPartialSuccess.
*/
@java.lang.Override
public boolean getReturnPartialSuccess() {
return returnPartialSuccess_;
}

/**
*
*
* <pre>
* When set to `true`, operations that are reachable are returned as normal,
* and those that are unreachable are returned in the
* [ListOperationsResponse.unreachable] field.
*
* This can only be `true` when reading across collections e.g. when `parent`
* is set to `"projects/example/locations/-"`.
*
* This field is not by default supported and will result in an
* `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
* service or product specific documentation.
* </pre>
*
* <code>bool return_partial_success = 5;</code>
*
* @param value The returnPartialSuccess to set.
* @return This builder for chaining.
*/
public Builder setReturnPartialSuccess(boolean value) {

returnPartialSuccess_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}

/**
*
*
* <pre>
* When set to `true`, operations that are reachable are returned as normal,
* and those that are unreachable are returned in the
* [ListOperationsResponse.unreachable] field.
*
* This can only be `true` when reading across collections e.g. when `parent`
* is set to `"projects/example/locations/-"`.
*
* This field is not by default supported and will result in an
* `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
* service or product specific documentation.
* </pre>
*
* <code>bool return_partial_success = 5;</code>
*
* @return This builder for chaining.
*/
public Builder clearReturnPartialSuccess() {
bitField0_ = (bitField0_ & ~0x00000010);
returnPartialSuccess_ = false;
onChanged();
return this;
}

@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,26 @@ public interface ListOperationsRequestOrBuilder
* @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();

/**
*
*
* <pre>
* When set to `true`, operations that are reachable are returned as normal,
* and those that are unreachable are returned in the
* [ListOperationsResponse.unreachable] field.
*
* This can only be `true` when reading across collections e.g. when `parent`
* is set to `"projects/example/locations/-"`.
*
* This field is not by default supported and will result in an
* `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
* service or product specific documentation.
* </pre>
*
* <code>bool return_partial_success = 5;</code>
*
* @return The returnPartialSuccess.
*/
boolean getReturnPartialSuccess();
}
Loading
Loading