public interface CreateSchemaRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
Schema |
getSchema()
Required.
|
String |
getSchemaId()
The ID to use for the schema, which will become the final component of
the schema's resource name.
|
com.google.protobuf.ByteString |
getSchemaIdBytes()
The ID to use for the schema, which will become the final component of
the schema's resource name.
|
SchemaOrBuilder |
getSchemaOrBuilder()
Required.
|
boolean |
hasSchema()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getParent()
Required. The name of the project in which to create the schema. Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The name of the project in which to create the schema. Format is `projects/{project-id}`.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasSchema()
Required. The schema object to create. This schema's `name` parameter is ignored. The schema object returned by CreateSchema will have a `name` made using the given `parent` and `schema_id`.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
Schema getSchema()
Required. The schema object to create. This schema's `name` parameter is ignored. The schema object returned by CreateSchema will have a `name` made using the given `parent` and `schema_id`.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
SchemaOrBuilder getSchemaOrBuilder()
Required. The schema object to create. This schema's `name` parameter is ignored. The schema object returned by CreateSchema will have a `name` made using the given `parent` and `schema_id`.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
String getSchemaId()
The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.
string schema_id = 3;
com.google.protobuf.ByteString getSchemaIdBytes()
The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/admin#resource_names for resource name constraints.
string schema_id = 3;
Copyright © 2023 Google LLC. All rights reserved.