- 0.51.0 (latest)
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.1
- 0.2.2
- 0.1.1
public static final class CreateApiSpecRequest.Builder extends GeneratedMessageV3.Builder<CreateApiSpecRequest.Builder> implements CreateApiSpecRequestOrBuilder
Request message for CreateApiSpec.
Protobuf type google.cloud.apigeeregistry.v1.CreateApiSpecRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateApiSpecRequest.BuilderImplements
CreateApiSpecRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateApiSpecRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
build()
public CreateApiSpecRequest build()
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest |
buildPartial()
public CreateApiSpecRequest buildPartial()
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest |
clear()
public CreateApiSpecRequest.Builder clear()
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
clearApiSpec()
public CreateApiSpecRequest.Builder clearApiSpec()
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
clearApiSpecId()
public CreateApiSpecRequest.Builder clearApiSpecId()
Required. The ID to use for the spec, which will become the final component of the spec's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
Following AIP-162, IDs must not have the form of a UUID.
string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateApiSpecRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateApiSpecRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
clearParent()
public CreateApiSpecRequest.Builder clearParent()
Required. The parent, which owns this collection of specs.
Format: projects/*/locations/*/apis/*/versions/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
This builder for chaining. |
clone()
public CreateApiSpecRequest.Builder clone()
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
getApiSpec()
public ApiSpec getApiSpec()
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ApiSpec |
The apiSpec. |
getApiSpecBuilder()
public ApiSpec.Builder getApiSpecBuilder()
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ApiSpec.Builder |
getApiSpecId()
public String getApiSpecId()
Required. The ID to use for the spec, which will become the final component of the spec's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
Following AIP-162, IDs must not have the form of a UUID.
string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The apiSpecId. |
getApiSpecIdBytes()
public ByteString getApiSpecIdBytes()
Required. The ID to use for the spec, which will become the final component of the spec's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
Following AIP-162, IDs must not have the form of a UUID.
string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for apiSpecId. |
getApiSpecOrBuilder()
public ApiSpecOrBuilder getApiSpecOrBuilder()
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ApiSpecOrBuilder |
getDefaultInstanceForType()
public CreateApiSpecRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. The parent, which owns this collection of specs.
Format: projects/*/locations/*/apis/*/versions/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The parent, which owns this collection of specs.
Format: projects/*/locations/*/apis/*/versions/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
hasApiSpec()
public boolean hasApiSpec()
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the apiSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeApiSpec(ApiSpec value)
public CreateApiSpecRequest.Builder mergeApiSpec(ApiSpec value)
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ApiSpec |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
mergeFrom(CreateApiSpecRequest other)
public CreateApiSpecRequest.Builder mergeFrom(CreateApiSpecRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateApiSpecRequest |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateApiSpecRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CreateApiSpecRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiSpecRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
setApiSpec(ApiSpec value)
public CreateApiSpecRequest.Builder setApiSpec(ApiSpec value)
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ApiSpec |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
setApiSpec(ApiSpec.Builder builderForValue)
public CreateApiSpecRequest.Builder setApiSpec(ApiSpec.Builder builderForValue)
Required. The spec to create.
.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ApiSpec.Builder |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
setApiSpecId(String value)
public CreateApiSpecRequest.Builder setApiSpecId(String value)
Required. The ID to use for the spec, which will become the final component of the spec's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
Following AIP-162, IDs must not have the form of a UUID.
string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The apiSpecId to set. |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
This builder for chaining. |
setApiSpecIdBytes(ByteString value)
public CreateApiSpecRequest.Builder setApiSpecIdBytes(ByteString value)
Required. The ID to use for the spec, which will become the final component of the spec's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
Following AIP-162, IDs must not have the form of a UUID.
string api_spec_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for apiSpecId to set. |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateApiSpecRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
setParent(String value)
public CreateApiSpecRequest.Builder setParent(String value)
Required. The parent, which owns this collection of specs.
Format: projects/*/locations/*/apis/*/versions/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateApiSpecRequest.Builder setParentBytes(ByteString value)
Required. The parent, which owns this collection of specs.
Format: projects/*/locations/*/apis/*/versions/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateApiSpecRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateApiSpecRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CreateApiSpecRequest.Builder |