public static final class UpdateSavedQueryRequest.Builder extends GeneratedMessageV3.Builder<UpdateSavedQueryRequest.Builder> implements UpdateSavedQueryRequestOrBuilder
Request to update a saved query.
Protobuf type google.cloud.asset.v1.UpdateSavedQueryRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSavedQueryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateSavedQueryRequest build()
Returns
buildPartial()
public UpdateSavedQueryRequest buildPartial()
Returns
clear()
public UpdateSavedQueryRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSavedQueryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSavedQueryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSavedQuery()
public UpdateSavedQueryRequest.Builder clearSavedQuery()
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateSavedQueryRequest.Builder clearUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateSavedQueryRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSavedQueryRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSavedQuery()
public SavedQuery getSavedQuery()
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSavedQueryBuilder()
public SavedQuery.Builder getSavedQueryBuilder()
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSavedQueryOrBuilder()
public SavedQueryOrBuilder getSavedQueryOrBuilder()
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasSavedQuery()
public boolean hasSavedQuery()
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
boolean |
Whether the savedQuery 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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateSavedQueryRequest other)
public UpdateSavedQueryRequest.Builder mergeFrom(UpdateSavedQueryRequest other)
Parameter
Returns
public UpdateSavedQueryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSavedQueryRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSavedQuery(SavedQuery value)
public UpdateSavedQueryRequest.Builder mergeSavedQuery(SavedQuery value)
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSavedQueryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSavedQueryRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSavedQueryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSavedQueryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSavedQuery(SavedQuery value)
public UpdateSavedQueryRequest.Builder setSavedQuery(SavedQuery value)
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSavedQuery(SavedQuery.Builder builderForValue)
public UpdateSavedQueryRequest.Builder setSavedQuery(SavedQuery.Builder builderForValue)
Required. The saved query to update.
The saved query's name
field is used to identify the one to update,
which has format as below:
- projects/project_number/savedQueries/saved_query_id
- folders/folder_number/savedQueries/saved_query_id
- organizations/organization_number/savedQueries/saved_query_id
.google.cloud.asset.v1.SavedQuery saved_query = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSavedQueryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateSavedQueryRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSavedQueryRequest.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