public final class Environment extends com.google.protobuf.GeneratedMessageV3 implements EnvironmentOrBuilder
An environment for running orchestration tasks.Protobuf type
google.cloud.orchestration.airflow.service.v1.Environment| Modifier and Type | Class and Description |
|---|---|
static class |
Environment.Builder
An environment for running orchestration tasks.
|
static class |
Environment.State
State of the environment.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIG_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
UUID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Optional.
|
boolean |
equals(Object obj) |
EnvironmentConfig |
getConfig()
Configuration parameters for this environment.
|
EnvironmentConfigOrBuilder |
getConfigOrBuilder()
Configuration parameters for this environment.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Environment |
getDefaultInstance() |
Environment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
Map<String,String> |
getLabelsMap()
Optional.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Optional.
|
String |
getLabelsOrThrow(String key)
Optional.
|
String |
getName()
The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
|
com.google.protobuf.Parser<Environment> |
getParserForType() |
int |
getSerializedSize() |
Environment.State |
getState()
The current state of the environment.
|
int |
getStateValue()
The current state of the environment.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getUuid()
Output only.
|
com.google.protobuf.ByteString |
getUuidBytes()
Output only.
|
boolean |
hasConfig()
Configuration parameters for this environment.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Environment.Builder |
newBuilder() |
static Environment.Builder |
newBuilder(Environment prototype) |
Environment.Builder |
newBuilderForType() |
protected Environment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Environment |
parseDelimitedFrom(InputStream input) |
static Environment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Environment |
parseFrom(byte[] data) |
static Environment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Environment |
parseFrom(ByteBuffer data) |
static Environment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Environment |
parseFrom(com.google.protobuf.ByteString data) |
static Environment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Environment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Environment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Environment |
parseFrom(InputStream input) |
static Environment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Environment> |
parser() |
Environment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
public static final int UUID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
string name = 1;getName in interface EnvironmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63
lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
string name = 1;getNameBytes in interface EnvironmentOrBuilderpublic boolean hasConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;hasConfig in interface EnvironmentOrBuilderpublic EnvironmentConfig getConfig()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;getConfig in interface EnvironmentOrBuilderpublic EnvironmentConfigOrBuilder getConfigOrBuilder()
Configuration parameters for this environment.
.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig config = 2;getConfigOrBuilder in interface EnvironmentOrBuilderpublic String getUuid()
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
string uuid = 3;getUuid in interface EnvironmentOrBuilderpublic com.google.protobuf.ByteString getUuidBytes()
Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created.
string uuid = 3;getUuidBytes in interface EnvironmentOrBuilderpublic int getStateValue()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;getStateValue in interface EnvironmentOrBuilderpublic Environment.State getState()
The current state of the environment.
.google.cloud.orchestration.airflow.service.v1.Environment.State state = 4;getState in interface EnvironmentOrBuilderpublic boolean hasCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;hasCreateTime in interface EnvironmentOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;getCreateTime in interface EnvironmentOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time at which this environment was created.
.google.protobuf.Timestamp create_time = 5;getCreateTimeOrBuilder in interface EnvironmentOrBuilderpublic boolean hasUpdateTime()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;hasUpdateTime in interface EnvironmentOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;getUpdateTime in interface EnvironmentOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time at which this environment was last modified.
.google.protobuf.Timestamp update_time = 6;getUpdateTimeOrBuilder in interface EnvironmentOrBuilderpublic int getLabelsCount()
EnvironmentOrBuilder
Optional. User-defined labels for this environment.
The labels map can contain no more than 64 entries. Entries of the labels
map are UTF8 strings that comply with the following restrictions:
* Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
* Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
* Both keys and values are additionally constrained to be <= 128 bytes in
size.
map<string, string> labels = 7;getLabelsCount in interface EnvironmentOrBuilderpublic boolean containsLabels(String key)
Optional. User-defined labels for this environment.
The labels map can contain no more than 64 entries. Entries of the labels
map are UTF8 strings that comply with the following restrictions:
* Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
* Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
* Both keys and values are additionally constrained to be <= 128 bytes in
size.
map<string, string> labels = 7;containsLabels in interface EnvironmentOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface EnvironmentOrBuilderpublic Map<String,String> getLabelsMap()
Optional. User-defined labels for this environment.
The labels map can contain no more than 64 entries. Entries of the labels
map are UTF8 strings that comply with the following restrictions:
* Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
* Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
* Both keys and values are additionally constrained to be <= 128 bytes in
size.
map<string, string> labels = 7;getLabelsMap in interface EnvironmentOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels for this environment.
The labels map can contain no more than 64 entries. Entries of the labels
map are UTF8 strings that comply with the following restrictions:
* Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
* Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
* Both keys and values are additionally constrained to be <= 128 bytes in
size.
map<string, string> labels = 7;getLabelsOrDefault in interface EnvironmentOrBuilderpublic String getLabelsOrThrow(String key)
Optional. User-defined labels for this environment.
The labels map can contain no more than 64 entries. Entries of the labels
map are UTF8 strings that comply with the following restrictions:
* Keys must conform to regexp: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}
* Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
* Both keys and values are additionally constrained to be <= 128 bytes in
size.
map<string, string> labels = 7;getLabelsOrThrow in interface EnvironmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Environment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Environment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Environment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Environment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Environment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Environment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Environment parseFrom(InputStream input) throws IOException
IOExceptionpublic static Environment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Environment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Environment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Environment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Environment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Environment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Environment.Builder newBuilder()
public static Environment.Builder newBuilder(Environment prototype)
public Environment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Environment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Environment getDefaultInstance()
public static com.google.protobuf.Parser<Environment> parser()
public com.google.protobuf.Parser<Environment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Environment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.