Package com.google.pubsub.v1
Interface GetSchemaRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetSchemaRequest,GetSchemaRequest.Builder
public interface GetSchemaRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.SchemaViewgetView()The set of fields to return in the response.intgetViewValue()The set of fields to return in the response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Required. The name of the schema to get. Format is `projects/{project}/schemas/{schema}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Required. The name of the schema to get. Format is `projects/{project}/schemas/{schema}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for name.
-
getViewValue
int getViewValue()
The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to `BASIC` to omit the `definition`.
.google.pubsub.v1.SchemaView view = 2;- Returns:
- The enum numeric value on the wire for view.
-
getView
SchemaView getView()
The set of fields to return in the response. If not set, returns a Schema with all fields filled out. Set to `BASIC` to omit the `definition`.
.google.pubsub.v1.SchemaView view = 2;- Returns:
- The view.
-
-