public static final class CreateSavedQueryRequest.Builder extends GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder> implements CreateSavedQueryRequestOrBuilder
Request to create a saved query.Protobuf type
google.cloud.asset.v1.CreateSavedQueryRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateSavedQueryRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateSavedQueryRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateSavedQueryRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder mergeFrom(CreateSavedQueryRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public CreateSavedQueryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateSavedQueryRequest.Builder>
IOException
public String getParent()
Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent
in interface CreateSavedQueryRequestOrBuilder
public ByteString getParentBytes()
Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes
in interface CreateSavedQueryRequestOrBuilder
public CreateSavedQueryRequest.Builder setParent(String value)
Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The parent to set.public CreateSavedQueryRequest.Builder clearParent()
Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public CreateSavedQueryRequest.Builder setParentBytes(ByteString value)
Required. The name of the project/folder/organization where this saved_query should be created in. It can only be an organization number (such as "organizations/123"), a folder number (such as "folders/123"), a project ID (such as "projects/my-project-id")", or a project number (such as "projects/12345").
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value
- The bytes for parent to set.public boolean hasSavedQuery()
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
hasSavedQuery
in interface CreateSavedQueryRequestOrBuilder
public SavedQuery getSavedQuery()
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
getSavedQuery
in interface CreateSavedQueryRequestOrBuilder
public CreateSavedQueryRequest.Builder setSavedQuery(SavedQuery value)
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateSavedQueryRequest.Builder setSavedQuery(SavedQuery.Builder builderForValue)
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateSavedQueryRequest.Builder mergeSavedQuery(SavedQuery value)
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateSavedQueryRequest.Builder clearSavedQuery()
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
public SavedQuery.Builder getSavedQueryBuilder()
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
public SavedQueryOrBuilder getSavedQueryOrBuilder()
Required. The saved_query details. The `name` field must be empty as it will be generated based on the parent and saved_query_id.
.google.cloud.asset.v1.SavedQuery saved_query = 2 [(.google.api.field_behavior) = REQUIRED];
getSavedQueryOrBuilder
in interface CreateSavedQueryRequestOrBuilder
public String getSavedQueryId()
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
getSavedQueryId
in interface CreateSavedQueryRequestOrBuilder
public ByteString getSavedQueryIdBytes()
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
getSavedQueryIdBytes
in interface CreateSavedQueryRequestOrBuilder
public CreateSavedQueryRequest.Builder setSavedQueryId(String value)
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The savedQueryId to set.public CreateSavedQueryRequest.Builder clearSavedQueryId()
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
public CreateSavedQueryRequest.Builder setSavedQueryIdBytes(ByteString value)
Required. The ID to use for the saved query, which must be unique in the specified parent. It will become the final component of the saved query's resource name. This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/. Notice that this field is required in the saved query creation, and the `name` field of the `saved_query` will be ignored.
string saved_query_id = 3 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for savedQueryId to set.public final CreateSavedQueryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
public final CreateSavedQueryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateSavedQueryRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.