public final class Realm extends GeneratedMessageV3 implements RealmOrBuilder
A Realm resource.Protobuf type
google.cloud.gaming.v1alpha.Realm| Modifier and Type | Class and Description |
|---|---|
static class |
Realm.Builder
A Realm resource.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| 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 |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic 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(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getName()
The resource name of the realm, using the form:
`projects/{project}/locations/{location}/realms/{realm}`. For
example, `projects/my-project/locations/{location}/realms/my-realm`.
string name = 1;getName in interface RealmOrBuilderpublic ByteString getNameBytes()
The resource name of the realm, using the 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 Timestamp getCreateTime()
Output only. The creation time.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface RealmOrBuilderpublic 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 Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface RealmOrBuilderpublic 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 realm-specific policies 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 ByteString getTimeZoneBytes()
Required. Time zone where all realm-specific policies 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 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 ByteString getDescriptionBytes()
Human readable description of the realm.
string description = 8;getDescriptionBytes in interface RealmOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Realm parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Realm parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Realm parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Realm parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Realm parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Realm parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Realm parseFrom(InputStream input) throws IOException
IOExceptionpublic static Realm parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Realm parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Realm parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Realm parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Realm parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Realm.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Realm.Builder newBuilder()
public static Realm.Builder newBuilder(Realm prototype)
public Realm.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Realm.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Realm getDefaultInstance()
public Parser<Realm> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Realm getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.