public static final class ValidateSchemaRequest.Builder extends GeneratedMessage.Builder<ValidateSchemaRequest.Builder> implements ValidateSchemaRequestOrBuilder Request for the ValidateSchema method.
Protobuf type google.pubsub.v1.ValidateSchemaRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ValidateSchemaRequest.BuilderImplements
ValidateSchemaRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ValidateSchemaRequest build()| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest |
|
buildPartial()
public ValidateSchemaRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest |
|
clear()
public ValidateSchemaRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
clearParent()
public ValidateSchemaRequest.Builder clearParent() Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
This builder for chaining. |
clearSchema()
public ValidateSchemaRequest.Builder clearSchema()Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
getDefaultInstanceForType()
public ValidateSchemaRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSchema()
public Schema getSchema()Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema |
The schema. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder()Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Schema.Builder |
|
getSchemaOrBuilder()
public SchemaOrBuilder getSchemaOrBuilder()Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SchemaOrBuilder |
|
hasSchema()
public boolean hasSchema()Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schema field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ValidateSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ValidateSchemaRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
mergeFrom(ValidateSchemaRequest other)
public ValidateSchemaRequest.Builder mergeFrom(ValidateSchemaRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ValidateSchemaRequest |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
mergeSchema(Schema value)
public ValidateSchemaRequest.Builder mergeSchema(Schema value)Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
setParent(String value)
public ValidateSchemaRequest.Builder setParent(String value) Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ValidateSchemaRequest.Builder setParentBytes(ByteString value) Required. The name of the project in which to validate schemas.
Format is projects/{project-id}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
This builder for chaining. |
setSchema(Schema value)
public ValidateSchemaRequest.Builder setSchema(Schema value)Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|
setSchema(Schema.Builder builderForValue)
public ValidateSchemaRequest.Builder setSchema(Schema.Builder builderForValue)Required. The schema object to validate.
.google.pubsub.v1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
ValidateSchemaRequest.Builder |
|