Class UpdateStyleGuideRequest.Builder (0.7.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateStyleGuideRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateStyleGuideRequest.Builder
Overrides

build()

public UpdateStyleGuideRequest build()
Returns
Type Description
UpdateStyleGuideRequest

buildPartial()

public UpdateStyleGuideRequest buildPartial()
Returns
Type Description
UpdateStyleGuideRequest

clear()

public UpdateStyleGuideRequest.Builder clear()
Returns
Type Description
UpdateStyleGuideRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateStyleGuideRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateStyleGuideRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateStyleGuideRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateStyleGuideRequest.Builder
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];

Returns
Type Description
UpdateStyleGuideRequest.Builder

clearUpdateMask()

public UpdateStyleGuideRequest.Builder clearUpdateMask()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateStyleGuideRequest.Builder

clone()

public UpdateStyleGuideRequest.Builder clone()
Returns
Type Description
UpdateStyleGuideRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateStyleGuideRequest getDefaultInstanceForType()
Returns
Type Description
UpdateStyleGuideRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
StyleGuide.Builder

getStyleGuideOrBuilder()

public StyleGuideOrBuilder getStyleGuideOrBuilder()

Required. The Style guide resource to update.

.google.cloud.apihub.v1.StyleGuide style_guide = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StyleGuideOrBuilder

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];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateStyleGuideRequest other)

public UpdateStyleGuideRequest.Builder mergeFrom(UpdateStyleGuideRequest other)
Parameter
Name Description
other UpdateStyleGuideRequest
Returns
Type Description
UpdateStyleGuideRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateStyleGuideRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateStyleGuideRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateStyleGuideRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateStyleGuideRequest.Builder
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];

Parameter
Name Description
value StyleGuide
Returns
Type Description
UpdateStyleGuideRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateStyleGuideRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateStyleGuideRequest.Builder
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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateStyleGuideRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateStyleGuideRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateStyleGuideRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateStyleGuideRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateStyleGuideRequest.Builder
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];

Parameter
Name Description
value StyleGuide
Returns
Type Description
UpdateStyleGuideRequest.Builder

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];

Parameter
Name Description
builderForValue StyleGuide.Builder
Returns
Type Description
UpdateStyleGuideRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateStyleGuideRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateStyleGuideRequest.Builder
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];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateStyleGuideRequest.Builder

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
Returns
Type Description
UpdateStyleGuideRequest.Builder