public interface TypeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Type |
getArrayElementType()
If [code][google.spanner.v1.Type.code] ==
[ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
type of the array elements.
|
TypeOrBuilder |
getArrayElementTypeOrBuilder()
If [code][google.spanner.v1.Type.code] ==
[ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
type of the array elements.
|
TypeCode |
getCode()
Required.
|
int |
getCodeValue()
Required.
|
StructType |
getStructType()
If [code][google.spanner.v1.Type.code] ==
[STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
type information for the struct's fields.
|
StructTypeOrBuilder |
getStructTypeOrBuilder()
If [code][google.spanner.v1.Type.code] ==
[STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
type information for the struct's fields.
|
boolean |
hasArrayElementType()
If [code][google.spanner.v1.Type.code] ==
[ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the
type of the array elements.
|
boolean |
hasStructType()
If [code][google.spanner.v1.Type.code] ==
[STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides
type information for the struct's fields.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getCodeValue()
Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
.google.spanner.v1.TypeCode code = 1;TypeCode getCode()
Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.
.google.spanner.v1.TypeCode code = 1;boolean hasArrayElementType()
If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
.google.spanner.v1.Type array_element_type = 2;Type getArrayElementType()
If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
.google.spanner.v1.Type array_element_type = 2;TypeOrBuilder getArrayElementTypeOrBuilder()
If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then `array_element_type` is the type of the array elements.
.google.spanner.v1.Type array_element_type = 2;boolean hasStructType()
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
.google.spanner.v1.StructType struct_type = 3;StructType getStructType()
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
.google.spanner.v1.StructType struct_type = 3;StructTypeOrBuilder getStructTypeOrBuilder()
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
.google.spanner.v1.StructType struct_type = 3;Copyright © 2019 Google LLC. All rights reserved.