com.google.cloudbuild.v1.WorkerPoolOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-build-v1 Show documentation
Show all versions of proto-google-cloud-build-v1 Show documentation
PROTO library for proto-google-cloud-build-v1
The newest version!
/*
* 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/devtools/cloudbuild/v1/cloudbuild.proto
// Protobuf Java Version: 3.25.4
package com.google.cloudbuild.v1;
public interface WorkerPoolOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.WorkerPool)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Output only. The resource name of the `WorkerPool`, with format
* `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
* The value of `{worker_pool}` is provided by `worker_pool_id` in
* `CreateWorkerPool` request and the value of `{location}` is determined by
* the endpoint accessed.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Output only. The resource name of the `WorkerPool`, with format
* `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
* The value of `{worker_pool}` is provided by `worker_pool_id` in
* `CreateWorkerPool` request and the value of `{location}` is determined by
* the endpoint accessed.
*
*
* string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* A user-specified, human-readable name for the `WorkerPool`. If provided,
* this value must be 1-63 characters.
*
*
* string display_name = 2;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* A user-specified, human-readable name for the `WorkerPool`. If provided,
* this value must be 1-63 characters.
*
*
* string display_name = 2;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* Output only. A unique identifier for the `WorkerPool`.
*
*
* string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The uid.
*/
java.lang.String getUid();
/**
*
*
*
* Output only. A unique identifier for the `WorkerPool`.
*
*
* string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for uid.
*/
com.google.protobuf.ByteString getUidBytes();
/**
*
*
*
* User specified annotations. See https://google.aip.dev/128#annotations
* for more details such as format and size limitations.
*
*
* map<string, string> annotations = 4;
*/
int getAnnotationsCount();
/**
*
*
*
* User specified annotations. See https://google.aip.dev/128#annotations
* for more details such as format and size limitations.
*
*
* map<string, string> annotations = 4;
*/
boolean containsAnnotations(java.lang.String key);
/** Use {@link #getAnnotationsMap()} instead. */
@java.lang.Deprecated
java.util.Map getAnnotations();
/**
*
*
*
* User specified annotations. See https://google.aip.dev/128#annotations
* for more details such as format and size limitations.
*
*
* map<string, string> annotations = 4;
*/
java.util.Map getAnnotationsMap();
/**
*
*
*
* User specified annotations. See https://google.aip.dev/128#annotations
* for more details such as format and size limitations.
*
*
* map<string, string> annotations = 4;
*/
/* nullable */
java.lang.String getAnnotationsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* User specified annotations. See https://google.aip.dev/128#annotations
* for more details such as format and size limitations.
*
*
* map<string, string> annotations = 4;
*/
java.lang.String getAnnotationsOrThrow(java.lang.String key);
/**
*
*
*
* Output only. Time at which the request to create the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Time at which the request to create the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Time at which the request to create the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. Time at which the request to update the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. Time at which the request to update the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
com.google.protobuf.Timestamp getUpdateTime();
/**
*
*
*
* Output only. Time at which the request to update the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Output only. Time at which the request to delete the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the deleteTime field is set.
*/
boolean hasDeleteTime();
/**
*
*
*
* Output only. Time at which the request to delete the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The deleteTime.
*/
com.google.protobuf.Timestamp getDeleteTime();
/**
*
*
*
* Output only. Time at which the request to delete the `WorkerPool` was
* received.
*
*
* .google.protobuf.Timestamp delete_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder();
/**
*
*
*
* Output only. `WorkerPool` state.
*
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. `WorkerPool` state.
*
*
*
* .google.devtools.cloudbuild.v1.WorkerPool.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloudbuild.v1.WorkerPool.State getState();
/**
*
*
*
* Legacy Private Pool configuration.
*
*
* .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
*
* @return Whether the privatePoolV1Config field is set.
*/
boolean hasPrivatePoolV1Config();
/**
*
*
*
* Legacy Private Pool configuration.
*
*
* .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
*
* @return The privatePoolV1Config.
*/
com.google.cloudbuild.v1.PrivatePoolV1Config getPrivatePoolV1Config();
/**
*
*
*
* Legacy Private Pool configuration.
*
*
* .google.devtools.cloudbuild.v1.PrivatePoolV1Config private_pool_v1_config = 12;
*/
com.google.cloudbuild.v1.PrivatePoolV1ConfigOrBuilder getPrivatePoolV1ConfigOrBuilder();
/**
*
*
*
* Output only. Checksum computed by the server. May be sent on update and
* delete requests to ensure that the client has an up-to-date value before
* proceeding.
*
*
* string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The etag.
*/
java.lang.String getEtag();
/**
*
*
*
* Output only. Checksum computed by the server. May be sent on update and
* delete requests to ensure that the client has an up-to-date value before
* proceeding.
*
*
* string etag = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for etag.
*/
com.google.protobuf.ByteString getEtagBytes();
com.google.cloudbuild.v1.WorkerPool.ConfigCase getConfigCase();
}