com.google.cloud.resourcemanager.v3.FolderOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-resourcemanager-v3 Show documentation
Show all versions of proto-google-cloud-resourcemanager-v3 Show documentation
Proto library for google-cloud-resourcemanager
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/resourcemanager/v3/folders.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.resourcemanager.v3;
public interface FolderOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.resourcemanager.v3.Folder)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The resource name of the folder.
* Its format is `folders/{folder_id}`, for example: "folders/1234".
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The resource name of the folder.
* Its format is `folders/{folder_id}`, for example: "folders/1234".
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. The folder's parent's resource name.
* Updates to the folder's parent must be performed using
* [MoveFolder][google.cloud.resourcemanager.v3.Folders.MoveFolder].
*
*
* string parent = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The parent.
*/
java.lang.String getParent();
/**
*
*
*
* Required. The folder's parent's resource name.
* Updates to the folder's parent must be performed using
* [MoveFolder][google.cloud.resourcemanager.v3.Folders.MoveFolder].
*
*
* string parent = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bytes for parent.
*/
com.google.protobuf.ByteString getParentBytes();
/**
*
*
*
* The folder's display name.
* A folder's display name must be unique amongst its siblings. For example,
* no two folders with the same parent can share the same display name.
* The display name must start and end with a letter or digit, may contain
* letters, digits, spaces, hyphens and underscores and can be no longer
* than 30 characters. This is captured by the regular expression:
* `[\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?`.
*
*
* string display_name = 3;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* The folder's display name.
* A folder's display name must be unique amongst its siblings. For example,
* no two folders with the same parent can share the same display name.
* The display name must start and end with a letter or digit, may contain
* letters, digits, spaces, hyphens and underscores and can be no longer
* than 30 characters. This is captured by the regular expression:
* `[\p{L}\p{N}]([\p{L}\p{N}_- ]{0,28}[\p{L}\p{N}])?`.
*
*
* string display_name = 3;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Output only. The lifecycle state of the folder.
* Updates to the state must be performed using
* [DeleteFolder][google.cloud.resourcemanager.v3.Folders.DeleteFolder] and
* [UndeleteFolder][google.cloud.resourcemanager.v3.Folders.UndeleteFolder].
*
*
*
* .google.cloud.resourcemanager.v3.Folder.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. The lifecycle state of the folder.
* Updates to the state must be performed using
* [DeleteFolder][google.cloud.resourcemanager.v3.Folders.DeleteFolder] and
* [UndeleteFolder][google.cloud.resourcemanager.v3.Folders.UndeleteFolder].
*
*
*
* .google.cloud.resourcemanager.v3.Folder.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.resourcemanager.v3.Folder.State getState();
/**
*
*
*
* Output only. Timestamp when the folder was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Timestamp when the folder was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Timestamp when the folder was created.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. Timestamp when the folder was last modified.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. Timestamp when the folder was last modified.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. Timestamp when the folder was last modified.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Output only. Timestamp when the folder was requested to be deleted.
*
*
* .google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the deleteTime field is set.
*/
boolean hasDeleteTime();
/**
*
*
*
* Output only. Timestamp when the folder was requested to be deleted.
*
*
* .google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The deleteTime.
*/
com.google.protobuf.Timestamp getDeleteTime();
/**
*
*
*
* Output only. Timestamp when the folder was requested to be deleted.
*
*
* .google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder();
/**
*
*
*
* Output only. A checksum computed by the server based on the current value
* of the folder resource. This may be sent on update and delete requests to
* ensure the client has an up-to-date value before proceeding.
*
*
* string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The etag.
*/
java.lang.String getEtag();
/**
*
*
*
* Output only. A checksum computed by the server based on the current value
* of the folder resource. This may be sent on update and delete requests to
* ensure the client has an up-to-date value before proceeding.
*
*
* string etag = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
}