bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperationsIsMutable(); operations_.addAll(other.operations_); onChanged(); operationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); onChanged(); onChanged(); return this;
private com.google.protobuf.RepeatedFieldBuilderV3< com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder> getOperationsFieldBuilder() { if (operationsBuilder_ == null) { operationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< com.google.longrunning.Operation, com.google.longrunning.Operation.Builder, com.google.longrunning.OperationOrBuilder>( operations_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); operations_ = null; } return operationsBuilder_; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.longrunning.ListOperationsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.longrunning.ListOperationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOperationsIsMutable(); operations_.addAll(other.operations_); onChanged(); operationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getOperationsFieldBuilder() : null; } else { operationsBuilder_.addAllMessages(other.operations_); onChanged(); onChanged(); return this;
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations( int index, com.google.longrunning.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(index, value); onChanged(); } else { operationsBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations(com.google.longrunning.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(value); onChanged(); } else { operationsBuilder_.addMessage(value); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations(com.google.longrunning.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(value); onChanged(); } else { operationsBuilder_.addMessage(value); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder setOperations( int index, com.google.longrunning.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.set(index, value); onChanged(); } else { operationsBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder setOperations( int index, com.google.longrunning.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.set(index, value); onChanged(); } else { operationsBuilder_.setMessage(index, value); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addAllOperations( java.lang.Iterable<? extends com.google.longrunning.Operation> values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addAllOperations( java.lang.Iterable<? extends com.google.longrunning.Operation> values) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, operations_); onChanged(); } else { operationsBuilder_.addAllMessages(values); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations( int index, com.google.longrunning.Operation value) { if (operationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureOperationsIsMutable(); operations_.add(index, value); onChanged(); } else { operationsBuilder_.addMessage(index, value); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations( com.google.longrunning.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations( int index, com.google.longrunning.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations( com.google.longrunning.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder setOperations( int index, com.google.longrunning.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.set(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder addOperations( int index, com.google.longrunning.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.add(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.google.longrunning.ListOperationsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.google.longrunning.ListOperationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder removeOperations(int index) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.remove(index); onChanged(); } else { operationsBuilder_.remove(index); } return this; } /**
/** * <pre> * A list of operations that matches the specified filter in the request. * </pre> * * <code>repeated .google.longrunning.Operation operations = 1;</code> */ public Builder setOperations( int index, com.google.longrunning.Operation.Builder builderForValue) { if (operationsBuilder_ == null) { ensureOperationsIsMutable(); operations_.set(index, builderForValue.build()); onChanged(); } else { operationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**