public static final class UpdateSpecRequest.Builder extends GeneratedMessageV3.Builder<UpdateSpecRequest.Builder> implements UpdateSpecRequestOrBuilder
The UpdateSpec method's request.
Protobuf type google.cloud.apihub.v1.UpdateSpecRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSpecRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSpecRequest build()
buildPartial()
public UpdateSpecRequest buildPartial()
clear()
public UpdateSpecRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSpecRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSpecRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSpec()
public UpdateSpecRequest.Builder clearSpec()
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSpecRequest.Builder clearUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateSpecRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSpecRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSpec()
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Spec |
The spec.
|
getSpecBuilder()
public Spec.Builder getSpecBuilder()
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
getSpecOrBuilder()
public SpecOrBuilder getSpecOrBuilder()
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasSpec()
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the spec field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSpecRequest other)
public UpdateSpecRequest.Builder mergeFrom(UpdateSpecRequest other)
public UpdateSpecRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSpecRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSpec(Spec value)
public UpdateSpecRequest.Builder mergeSpec(Spec value)
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Spec
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSpecRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSpecRequest.Builder mergeUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSpecRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSpecRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSpec(Spec value)
public UpdateSpecRequest.Builder setSpec(Spec value)
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Spec
|
setSpec(Spec.Builder builderForValue)
public UpdateSpecRequest.Builder setSpec(Spec.Builder builderForValue)
Required. The spec to update.
The spec's name
field is used to identify the spec to
update. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
.google.cloud.apihub.v1.Spec spec = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSpecRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSpecRequest.Builder setUpdateMask(FieldMask value)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSpecRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|