public final class UpdateTenantRequest extends GeneratedMessageV3 implements UpdateTenantRequestOrBuilder
Request for updating a specified tenant.
Protobuf type google.cloud.talent.v4.UpdateTenantRequest
Static Fields
TENANT_FIELD_NUMBER
public static final int TENANT_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateTenantRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateTenantRequest.Builder newBuilder()
Returns
newBuilder(UpdateTenantRequest prototype)
public static UpdateTenantRequest.Builder newBuilder(UpdateTenantRequest prototype)
Parameter
Returns
public static UpdateTenantRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateTenantRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateTenantRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateTenantRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateTenantRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateTenantRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateTenantRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateTenantRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateTenantRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateTenantRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateTenantRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateTenantRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateTenantRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public UpdateTenantRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpdateTenantRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTenant()
public Tenant getTenant()
Required. The tenant resource to replace the current resource in the
system.
.google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
Tenant | The tenant.
|
getTenantOrBuilder()
public TenantOrBuilder getTenantOrBuilder()
Required. The tenant resource to replace the current resource in the
system.
.google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Strongly recommended for the best service experience.
If update_mask is
provided, only the specified fields in
tenant are updated.
Otherwise all the fields are updated.
A field mask to specify the tenant fields to be updated. Only
top level fields of Tenant are supported.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Strongly recommended for the best service experience.
If update_mask is
provided, only the specified fields in
tenant are updated.
Otherwise all the fields are updated.
A field mask to specify the tenant fields to be updated. Only
top level fields of Tenant are supported.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasTenant()
public boolean hasTenant()
Required. The tenant resource to replace the current resource in the
system.
.google.cloud.talent.v4.Tenant tenant = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the tenant field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Strongly recommended for the best service experience.
If update_mask is
provided, only the specified fields in
tenant are updated.
Otherwise all the fields are updated.
A field mask to specify the tenant fields to be updated. Only
top level fields of Tenant are supported.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateTenantRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateTenantRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateTenantRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions