Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -459,13 +459,6 @@ public Builder clearServiceAccount() {
@ExcludeFromGeneratedCoverageReport
abstract Builder identityType(Optional<IdentityType> identityType);

/** Clears the value of identityType field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearIdentityType() {
return identityType(Optional.empty());
}

/**
* Setter for identityType given a known enum.
*
Expand All @@ -486,6 +479,13 @@ public Builder identityType(String identityType) {
return identityType(new IdentityType(identityType));
}

/** Clears the value of identityType field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearIdentityType() {
return identityType(Optional.empty());
}

/**
* Setter for contextSpec.
*
Expand Down Expand Up @@ -666,13 +666,6 @@ public Builder clearLabels() {
@ExcludeFromGeneratedCoverageReport
abstract Builder agentServerMode(Optional<AgentServerMode> agentServerMode);

/** Clears the value of agentServerMode field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentServerMode() {
return agentServerMode(Optional.empty());
}

/**
* Setter for agentServerMode given a known enum.
*
Expand All @@ -693,6 +686,13 @@ public Builder agentServerMode(String agentServerMode) {
return agentServerMode(new AgentServerMode(agentServerMode));
}

/** Clears the value of agentServerMode field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentServerMode() {
return agentServerMode(Optional.empty());
}

/**
* Setter for classMethods.
*
Expand Down Expand Up @@ -874,13 +874,6 @@ public Builder clearRequirementsFile() {
@ExcludeFromGeneratedCoverageReport
abstract Builder agentFramework(Optional<AgentFramework> agentFramework);

/** Clears the value of agentFramework field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentFramework() {
return agentFramework(Optional.empty());
}

/**
* Setter for agentFramework given a known enum.
*
Expand Down Expand Up @@ -909,6 +902,13 @@ public Builder agentFramework(String agentFramework) {
return agentFramework(new AgentFramework(agentFramework));
}

/** Clears the value of agentFramework field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentFramework() {
return agentFramework(Optional.empty());
}

/**
* Setter for pythonVersion.
*
Expand All @@ -922,13 +922,6 @@ public Builder agentFramework(String agentFramework) {
@ExcludeFromGeneratedCoverageReport
abstract Builder pythonVersion(Optional<PythonVersion> pythonVersion);

/** Clears the value of pythonVersion field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearPythonVersion() {
return pythonVersion(Optional.empty());
}

/**
* Setter for pythonVersion given a known enum.
*
Expand All @@ -953,6 +946,13 @@ public Builder pythonVersion(String pythonVersion) {
return pythonVersion(new PythonVersion(pythonVersion));
}

/** Clears the value of pythonVersion field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearPythonVersion() {
return pythonVersion(Optional.empty());
}

/**
* Setter for buildOptions.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,13 +639,6 @@ public Builder clearRequirementsFile() {
@ExcludeFromGeneratedCoverageReport
abstract Builder agentFramework(Optional<AgentFramework> agentFramework);

/** Clears the value of agentFramework field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentFramework() {
return agentFramework(Optional.empty());
}

/**
* Setter for agentFramework given a known enum.
*
Expand Down Expand Up @@ -674,6 +667,13 @@ public Builder agentFramework(String agentFramework) {
return agentFramework(new AgentFramework(agentFramework));
}

/** Clears the value of agentFramework field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentFramework() {
return agentFramework(Optional.empty());
}

/**
* Setter for pythonVersion.
*
Expand All @@ -687,13 +687,6 @@ public Builder agentFramework(String agentFramework) {
@ExcludeFromGeneratedCoverageReport
abstract Builder pythonVersion(Optional<PythonVersion> pythonVersion);

/** Clears the value of pythonVersion field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearPythonVersion() {
return pythonVersion(Optional.empty());
}

/**
* Setter for pythonVersion given a known enum.
*
Expand All @@ -718,6 +711,13 @@ public Builder pythonVersion(String pythonVersion) {
return pythonVersion(new PythonVersion(pythonVersion));
}

/** Clears the value of pythonVersion field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearPythonVersion() {
return pythonVersion(Optional.empty());
}

/**
* Setter for buildOptions.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,6 @@ public abstract Builder metadataMergeStrategy(
abstract Builder metadataMergeStrategy(
Optional<MemoryMetadataMergeStrategy> metadataMergeStrategy);

/** Clears the value of metadataMergeStrategy field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearMetadataMergeStrategy() {
return metadataMergeStrategy(Optional.empty());
}

/**
* Setter for metadataMergeStrategy given a known enum.
*
Expand All @@ -310,6 +303,13 @@ public Builder metadataMergeStrategy(String metadataMergeStrategy) {
return metadataMergeStrategy(new MemoryMetadataMergeStrategy(metadataMergeStrategy));
}

/** Clears the value of metadataMergeStrategy field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearMetadataMergeStrategy() {
return metadataMergeStrategy(Optional.empty());
}

/**
* Setter for allowedTopics.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,6 @@ public Builder clearMemory() {
@ExcludeFromGeneratedCoverageReport
abstract Builder action(Optional<GenerateMemoriesResponseGeneratedMemoryAction> action);

/** Clears the value of action field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAction() {
return action(Optional.empty());
}

/**
* Setter for action given a known enum.
*
Expand All @@ -134,6 +127,13 @@ public Builder action(String action) {
return action(new GenerateMemoriesResponseGeneratedMemoryAction(action));
}

/** Clears the value of action field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAction() {
return action(Optional.empty());
}

/**
* Setter for previousRevision.
*
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/com/google/cloud/agentplatform/types/Memory.java
Original file line number Diff line number Diff line change
Expand Up @@ -472,13 +472,6 @@ public Builder clearUpdateTime() {
@ExcludeFromGeneratedCoverageReport
abstract Builder memoryType(Optional<MemoryType> memoryType);

/** Clears the value of memoryType field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearMemoryType() {
return memoryType(Optional.empty());
}

/**
* Setter for memoryType given a known enum.
*
Expand All @@ -503,6 +496,13 @@ public Builder memoryType(String memoryType) {
return memoryType(new MemoryType(memoryType));
}

/** Clears the value of memoryType field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearMemoryType() {
return memoryType(Optional.empty());
}

/**
* Setter for structuredContent.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ private static Builder create() {
@ExcludeFromGeneratedCoverageReport
abstract Builder managedTopicEnum(Optional<ManagedTopicEnum> managedTopicEnum);

/** Clears the value of managedTopicEnum field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearManagedTopicEnum() {
return managedTopicEnum(Optional.empty());
}

/**
* Setter for managedTopicEnum given a known enum.
*
Expand All @@ -94,6 +87,13 @@ public Builder managedTopicEnum(String managedTopicEnum) {
return managedTopicEnum(new ManagedTopicEnum(managedTopicEnum));
}

/** Clears the value of managedTopicEnum field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearManagedTopicEnum() {
return managedTopicEnum(Optional.empty());
}

public abstract MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,6 @@ public Builder clearNegate() {
@ExcludeFromGeneratedCoverageReport
abstract Builder op(Optional<Operator> op);

/** Clears the value of op field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearOp() {
return op(Optional.empty());
}

/**
* Setter for op given a known enum.
*
Expand All @@ -142,6 +135,13 @@ public Builder op(String op) {
return op(new Operator(op));
}

/** Clears the value of op field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearOp() {
return op(Optional.empty());
}

/**
* Setter for value.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,6 @@ public Builder clearCustomMemoryTopicLabel() {
@ExcludeFromGeneratedCoverageReport
abstract Builder managedMemoryTopic(Optional<ManagedTopicEnum> managedMemoryTopic);

/** Clears the value of managedMemoryTopic field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearManagedMemoryTopic() {
return managedMemoryTopic(Optional.empty());
}

/**
* Setter for managedMemoryTopic given a known enum.
*
Expand All @@ -112,6 +105,13 @@ public Builder managedMemoryTopic(String managedMemoryTopic) {
return managedMemoryTopic(new ManagedTopicEnum(managedMemoryTopic));
}

/** Clears the value of managedMemoryTopic field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearManagedMemoryTopic() {
return managedMemoryTopic(Optional.empty());
}

public abstract MemoryTopicId build();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,6 @@ public Builder clearEffectiveIdentity() {
@ExcludeFromGeneratedCoverageReport
abstract Builder identityType(Optional<IdentityType> identityType);

/** Clears the value of identityType field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearIdentityType() {
return identityType(Optional.empty());
}

/**
* Setter for identityType given a known enum.
*
Expand All @@ -281,6 +274,13 @@ public Builder identityType(String identityType) {
return identityType(new IdentityType(identityType));
}

/** Clears the value of identityType field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearIdentityType() {
return identityType(Optional.empty());
}

/**
* Setter for packageSpec.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,6 @@ private static Builder create() {
@ExcludeFromGeneratedCoverageReport
abstract Builder agentServerMode(Optional<AgentServerMode> agentServerMode);

/** Clears the value of agentServerMode field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentServerMode() {
return agentServerMode(Optional.empty());
}

/**
* Setter for agentServerMode given a known enum.
*
Expand All @@ -163,6 +156,13 @@ public Builder agentServerMode(String agentServerMode) {
return agentServerMode(new AgentServerMode(agentServerMode));
}

/** Clears the value of agentServerMode field. */
@ExcludeFromGeneratedCoverageReport
@CanIgnoreReturnValue
public Builder clearAgentServerMode() {
return agentServerMode(Optional.empty());
}

/**
* Setter for containerConcurrency.
*
Expand Down
Loading
Loading