- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.2
- 1.0.1
- 0.2.2
public interface PartitionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEtag()
public abstract String getEtag()
Optional. The etag for this partition.
string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Type | Description |
String | The etag. |
getEtagBytes()
public abstract ByteString getEtagBytes()
Optional. The etag for this partition.
string etag = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
Type | Description |
ByteString | The bytes for etag. |
getLocation()
public abstract String getLocation()
Required. Immutable. The location of the entity data within the partition, for example,
gs://bucket/path/to/entity/key1=value1/key2=value2
.
Or projects/<project_id>/datasets/<dataset_id>/tables/<table_id>
string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
String | The location. |
getLocationBytes()
public abstract ByteString getLocationBytes()
Required. Immutable. The location of the entity data within the partition, for example,
gs://bucket/path/to/entity/key1=value1/key2=value2
.
Or projects/<project_id>/datasets/<dataset_id>/tables/<table_id>
string location = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
ByteString | The bytes for location. |
getName()
public abstract String getName()
Output only. The values must be HTML URL encoded two times before constructing the path. For example, if you have a value of "US:CA", encoded it two times and you get "US%253ACA". Then if you have the 2nd value is "CA#Sunnyvale", encoded two times and you get "CA%2523Sunnyvale". The partition values path is "US%253ACA/CA%2523Sunnyvale". The final URL will be "https://.../partitions/US%253ACA/CA%2523Sunnyvale". The name field in the responses will always have the encoded format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Output only. The values must be HTML URL encoded two times before constructing the path. For example, if you have a value of "US:CA", encoded it two times and you get "US%253ACA". Then if you have the 2nd value is "CA#Sunnyvale", encoded two times and you get "CA%2523Sunnyvale". The partition values path is "US%253ACA/CA%2523Sunnyvale". The final URL will be "https://.../partitions/US%253ACA/CA%2523Sunnyvale". The name field in the responses will always have the encoded format.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getValues(int index)
public abstract String getValues(int index)
Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The values at the given index. |
getValuesBytes(int index)
public abstract ByteString getValuesBytes(int index)
Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the values at the given index. |
getValuesCount()
public abstract int getValuesCount()
Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The count of values. |
getValuesList()
public abstract List<String> getValuesList()
Required. Immutable. The set of values representing the partition, which correspond to the partition schema defined in the parent entity.
repeated string values = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
List<String> | A list containing the values. |