public final class Realm extends com.google.protobuf.GeneratedMessageV3 implements RealmOrBuilder
A realm resource.Protobuf type
google.cloud.gaming.v1.Realm| Modifier and Type | Class and Description |
|---|---|
static class |
Realm.Builder
A realm resource.
|
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 |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
TIME_ZONE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
The labels associated with this realm.
|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Realm |
getDefaultInstance() |
Realm |
getDefaultInstanceForType() |
String |
getDescription()
Human readable description of the realm.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Human readable description of the realm.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
ETag of the resource.
|
com.google.protobuf.ByteString |
getEtagBytes()
ETag of the resource.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels associated with this realm.
|
Map<String,String> |
getLabelsMap()
The labels associated with this realm.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
The labels associated with this realm.
|
String |
getLabelsOrThrow(String key)
The labels associated with this realm.
|
String |
getName()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`.
|
com.google.protobuf.Parser<Realm> |
getParserForType() |
int |
getSerializedSize() |
String |
getTimeZone()
Required.
|
com.google.protobuf.ByteString |
getTimeZoneBytes()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
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 Realm.Builder |
newBuilder() |
static Realm.Builder |
newBuilder(Realm prototype) |
Realm.Builder |
newBuilderForType() |
protected Realm.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Realm |
parseDelimitedFrom(InputStream input) |
static Realm |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Realm |
parseFrom(byte[] data) |
static Realm |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Realm |
parseFrom(ByteBuffer data) |
static Realm |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Realm |
parseFrom(com.google.protobuf.ByteString data) |
static Realm |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Realm |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Realm |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Realm |
parseFrom(InputStream input) |
static Realm |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Realm> |
parser() |
Realm.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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 CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int TIME_ZONE_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int DESCRIPTION_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 realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;getName in interface RealmOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the realm, in the following form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;getNameBytes in interface RealmOrBuilderpublic boolean hasCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface RealmOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface RealmOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface RealmOrBuilderpublic boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface RealmOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface RealmOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface RealmOrBuilderpublic int getLabelsCount()
RealmOrBuilderThe labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsCount in interface RealmOrBuilderpublic boolean containsLabels(String key)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;containsLabels in interface RealmOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface RealmOrBuilderpublic Map<String,String> getLabelsMap()
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsMap in interface RealmOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrDefault in interface RealmOrBuilderpublic String getLabelsOrThrow(String key)
The labels associated with this realm. Each label is a key-value pair.
map<string, string> labels = 4;getLabelsOrThrow in interface RealmOrBuilderpublic String getTimeZone()
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];getTimeZone in interface RealmOrBuilderpublic com.google.protobuf.ByteString getTimeZoneBytes()
Required. Time zone where all policies targeting this realm are evaluated. The value of this field must be from the IANA time zone database: https://www.iana.org/time-zones.
string time_zone = 6 [(.google.api.field_behavior) = REQUIRED];getTimeZoneBytes in interface RealmOrBuilderpublic String getEtag()
ETag of the resource.
string etag = 7;getEtag in interface RealmOrBuilderpublic com.google.protobuf.ByteString getEtagBytes()
ETag of the resource.
string etag = 7;getEtagBytes in interface RealmOrBuilderpublic String getDescription()
Human readable description of the realm.
string description = 8;getDescription in interface RealmOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Human readable description of the realm.
string description = 8;getDescriptionBytes in interface RealmOrBuilderpublic 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 Realm parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Realm parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Realm parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Realm parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Realm parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Realm parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Realm parseFrom(InputStream input) throws IOException
IOExceptionpublic static Realm parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Realm parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Realm parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Realm parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Realm parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Realm.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Realm.Builder newBuilder()
public static Realm.Builder newBuilder(Realm prototype)
public Realm.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Realm.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Realm getDefaultInstance()
public static com.google.protobuf.Parser<Realm> parser()
public com.google.protobuf.Parser<Realm> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Realm getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.