public static final class UpdateMembershipRequest.Builder extends GeneratedMessageV3.Builder<UpdateMembershipRequest.Builder> implements UpdateMembershipRequestOrBuilder
Request message for updating a membership.
Protobuf type google.chat.v1.UpdateMembershipRequest
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 UpdateMembershipRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateMembershipRequest build()
buildPartial()
public UpdateMembershipRequest buildPartial()
clear()
public UpdateMembershipRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateMembershipRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMembership()
public UpdateMembershipRequest.Builder clearMembership()
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateMembershipRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateMembershipRequest.Builder clearUpdateMask()
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public UpdateMembershipRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateMembershipRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMembership()
public Membership getMembership()
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Membership |
The membership.
|
getMembershipBuilder()
public Membership.Builder getMembershipBuilder()
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
getMembershipOrBuilder()
public MembershipOrBuilder getMembershipOrBuilder()
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
hasMembership()
public boolean hasMembership()
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the membership field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.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(UpdateMembershipRequest other)
public UpdateMembershipRequest.Builder mergeFrom(UpdateMembershipRequest other)
public UpdateMembershipRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateMembershipRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeMembership(Membership value)
public UpdateMembershipRequest.Builder mergeMembership(Membership value)
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateMembershipRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateMembershipRequest.Builder mergeUpdateMask(FieldMask value)
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateMembershipRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMembership(Membership value)
public UpdateMembershipRequest.Builder setMembership(Membership value)
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
setMembership(Membership.Builder builderForValue)
public UpdateMembershipRequest.Builder setMembership(Membership.Builder builderForValue)
Required. The membership to update. Only fields specified by update_mask
are updated.
.google.chat.v1.Membership membership = 1 [(.google.api.field_behavior) = REQUIRED];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateMembershipRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateMembershipRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateMembershipRequest.Builder setUpdateMask(FieldMask value)
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateMembershipRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
builderForValue |
Builder
|