public static final class DatastoreV1.Property.Builder extends com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder> implements DatastoreV1.PropertyOrBuilder
api.services.datastore.Property
An entity property.
| Modifier and Type | Method and Description |
|---|---|
DatastoreV1.Property |
build() |
DatastoreV1.Property |
buildPartial() |
DatastoreV1.Property.Builder |
clear() |
DatastoreV1.Property.Builder |
clearName()
required string name = 1; |
DatastoreV1.Property.Builder |
clearValue()
required .api.services.datastore.Value value = 4; |
DatastoreV1.Property.Builder |
clone() |
DatastoreV1.Property |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
DatastoreV1.Value |
getValue()
required .api.services.datastore.Value value = 4; |
DatastoreV1.Value.Builder |
getValueBuilder()
required .api.services.datastore.Value value = 4; |
DatastoreV1.ValueOrBuilder |
getValueOrBuilder()
required .api.services.datastore.Value value = 4; |
boolean |
hasName()
required string name = 1; |
boolean |
hasValue()
required .api.services.datastore.Value value = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DatastoreV1.Property.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatastoreV1.Property.Builder |
mergeFrom(DatastoreV1.Property other) |
DatastoreV1.Property.Builder |
mergeFrom(com.google.protobuf.Message other) |
DatastoreV1.Property.Builder |
mergeValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4; |
DatastoreV1.Property.Builder |
setName(String value)
required string name = 1; |
DatastoreV1.Property.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required string name = 1; |
DatastoreV1.Property.Builder |
setValue(DatastoreV1.Value.Builder builderForValue)
required .api.services.datastore.Value value = 4; |
DatastoreV1.Property.Builder |
setValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionaddAll, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>public DatastoreV1.Property.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>public DatastoreV1.Property.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>public DatastoreV1.Property getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DatastoreV1.Property build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DatastoreV1.Property buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DatastoreV1.Property.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatastoreV1.Property.Builder>public DatastoreV1.Property.Builder mergeFrom(DatastoreV1.Property other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<DatastoreV1.Property.Builder>public DatastoreV1.Property.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DatastoreV1.Property.Builder>IOExceptionpublic boolean hasName()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
hasName in interface DatastoreV1.PropertyOrBuilderpublic String getName()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
getName in interface DatastoreV1.PropertyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
getNameBytes in interface DatastoreV1.PropertyOrBuilderpublic DatastoreV1.Property.Builder setName(String value)
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
public DatastoreV1.Property.Builder clearName()
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
public DatastoreV1.Property.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
The name of the property. A property name matching regex "__.*__" is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. Cannot be "".
public boolean hasValue()
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
hasValue in interface DatastoreV1.PropertyOrBuilderpublic DatastoreV1.Value getValue()
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
getValue in interface DatastoreV1.PropertyOrBuilderpublic DatastoreV1.Property.Builder setValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Property.Builder setValue(DatastoreV1.Value.Builder builderForValue)
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Property.Builder mergeValue(DatastoreV1.Value value)
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Property.Builder clearValue()
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.Value.Builder getValueBuilder()
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
public DatastoreV1.ValueOrBuilder getValueOrBuilder()
required .api.services.datastore.Value value = 4;
The value(s) of the property.
Each value can have only one value property populated. For example,
you cannot have a values list of <code>{ value: { integerValue: 22,
stringValue: "a" } }</code>, but you can have <code>{ value: { listValue:
[ { integerValue: 22 }, { stringValue: "a" } ] }</code>.
getValueOrBuilder in interface DatastoreV1.PropertyOrBuilderCopyright © 2015. All rights reserved.