public static final class UpdateCachedContentRequest.Builder extends GeneratedMessageV3.Builder<UpdateCachedContentRequest.Builder> implements UpdateCachedContentRequestOrBuilder
Request message for
GenAiCacheService.UpdateCachedContent.
Only expire_time or ttl can be updated.
Protobuf type google.cloud.aiplatform.v1beta1.UpdateCachedContentRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCachedContentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateCachedContentRequest build()
buildPartial()
public UpdateCachedContentRequest buildPartial()
clear()
public UpdateCachedContentRequest.Builder clear()
Overrides
clearCachedContent()
public UpdateCachedContentRequest.Builder clearCachedContent()
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateCachedContentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCachedContentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateCachedContentRequest.Builder clearUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateCachedContentRequest.Builder clone()
Overrides
getCachedContent()
public CachedContent getCachedContent()
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
getCachedContentBuilder()
public CachedContent.Builder getCachedContentBuilder()
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
getCachedContentOrBuilder()
public CachedContentOrBuilder getCachedContentOrBuilder()
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateCachedContentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasCachedContent()
public boolean hasCachedContent()
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the cachedContent field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCachedContent(CachedContent value)
public UpdateCachedContentRequest.Builder mergeCachedContent(CachedContent value)
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateCachedContentRequest other)
public UpdateCachedContentRequest.Builder mergeFrom(UpdateCachedContentRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateCachedContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateCachedContentRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCachedContentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateCachedContentRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setCachedContent(CachedContent value)
public UpdateCachedContentRequest.Builder setCachedContent(CachedContent value)
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
setCachedContent(CachedContent.Builder builderForValue)
public UpdateCachedContentRequest.Builder setCachedContent(CachedContent.Builder builderForValue)
Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCachedContentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCachedContentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCachedContentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateCachedContentRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateCachedContentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|