public static final class UpdateCachedContentRequest.Builder extends GeneratedMessage.Builder<UpdateCachedContentRequest.Builder> implements UpdateCachedContentRequestOrBuilderRequest message for GenAiCacheService.UpdateCachedContent. Only expire_time or ttl can be updated.
Protobuf type google.cloud.aiplatform.v1beta1.UpdateCachedContentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateCachedContentRequest.BuilderImplements
UpdateCachedContentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateCachedContentRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest |
|
buildPartial()
public UpdateCachedContentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest |
|
clear()
public UpdateCachedContentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
clearCachedContent()
public UpdateCachedContentRequest.Builder clearCachedContent()Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
clearUpdateMask()
public UpdateCachedContentRequest.Builder clearUpdateMask()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
getCachedContent()
public CachedContent getCachedContent()Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CachedContent |
The cachedContent. |
getCachedContentBuilder()
public CachedContent.Builder getCachedContentBuilder()Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CachedContent.Builder |
|
getCachedContentOrBuilder()
public CachedContentOrBuilder getCachedContentOrBuilder()Required. The cached content to update
.google.cloud.aiplatform.v1beta1.CachedContent cached_content = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CachedContentOrBuilder |
|
getDefaultInstanceForType()
public UpdateCachedContentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
CachedContent |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
mergeFrom(UpdateCachedContentRequest other)
public UpdateCachedContentRequest.Builder mergeFrom(UpdateCachedContentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateCachedContentRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateCachedContentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateCachedContentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
CachedContent |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CachedContent.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateCachedContentRequest.Builder |
|