public static final class UpdateStyleGuideRequest.Builder extends GeneratedMessageV3.Builder<UpdateStyleGuideRequest.Builder> implements UpdateStyleGuideRequestOrBuilder
The UpdateStyleGuide method's request.
Protobuf type google.cloud.apihub.v1.UpdateStyleGuideRequest
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 UpdateStyleGuideRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateStyleGuideRequest build()
buildPartial()
public UpdateStyleGuideRequest buildPartial()
clear()
public UpdateStyleGuideRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateStyleGuideRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateStyleGuideRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStyleGuide()
public UpdateStyleGuideRequest.Builder clearStyleGuide()
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateStyleGuideRequest.Builder clearUpdateMask()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateStyleGuideRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateStyleGuideRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStyleGuide()
public StyleGuide getStyleGuide()
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
StyleGuide |
The styleGuide.
|
getStyleGuideBuilder()
public StyleGuide.Builder getStyleGuideBuilder()
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
getStyleGuideOrBuilder()
public StyleGuideOrBuilder getStyleGuideOrBuilder()
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasStyleGuide()
public boolean hasStyleGuide()
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the styleGuide field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateStyleGuideRequest other)
public UpdateStyleGuideRequest.Builder mergeFrom(UpdateStyleGuideRequest other)
public UpdateStyleGuideRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateStyleGuideRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStyleGuide(StyleGuide value)
public UpdateStyleGuideRequest.Builder mergeStyleGuide(StyleGuide value)
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateStyleGuideRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateStyleGuideRequest.Builder mergeUpdateMask(FieldMask value)
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateStyleGuideRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateStyleGuideRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStyleGuide(StyleGuide value)
public UpdateStyleGuideRequest.Builder setStyleGuide(StyleGuide value)
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
setStyleGuide(StyleGuide.Builder builderForValue)
public UpdateStyleGuideRequest.Builder setStyleGuide(StyleGuide.Builder builderForValue)
Required. The Style guide resource to update.
.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateStyleGuideRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateStyleGuideRequest.Builder setUpdateMask(FieldMask value)
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateStyleGuideRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. The list of fields to update.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|