public interface SchemaOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getDefinition()
public abstract String getDefinition()
The definition of the schema. This should contain a string representing
the full definition of the schema that is a valid schema definition of
the type specified in type
.
string definition = 3;
Type | Description |
String | The definition. |
getDefinitionBytes()
public abstract ByteString getDefinitionBytes()
The definition of the schema. This should contain a string representing
the full definition of the schema that is a valid schema definition of
the type specified in type
.
string definition = 3;
Type | Description |
ByteString | The bytes for definition. |
getName()
public abstract String getName()
Required. Name of the schema.
Format is projects/{project}/schemas/{schema}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Required. Name of the schema.
Format is projects/{project}/schemas/{schema}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
getRevisionCreateTime()
public abstract Timestamp getRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The revisionCreateTime. |
getRevisionCreateTimeOrBuilder()
public abstract TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getRevisionId()
public abstract String getRevisionId()
Output only. Immutable. The revision ID of the schema.
string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The revisionId. |
getRevisionIdBytes()
public abstract ByteString getRevisionIdBytes()
Output only. Immutable. The revision ID of the schema.
string revision_id = 4 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for revisionId. |
getType()
public abstract Schema.Type getType()
The type of the schema definition.
.google.pubsub.v1.Schema.Type type = 2;
Type | Description |
Schema.Type | The type. |
getTypeValue()
public abstract int getTypeValue()
The type of the schema definition.
.google.pubsub.v1.Schema.Type type = 2;
Type | Description |
int | The enum numeric value on the wire for type. |
hasRevisionCreateTime()
public abstract boolean hasRevisionCreateTime()
Output only. The timestamp that the revision was created.
.google.protobuf.Timestamp revision_create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the revisionCreateTime field is set. |