Interface RenameDataPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RenameDataPolicyRequest, RenameDataPolicyRequest.Builder

@Generated public interface RenameDataPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. Resource name of the data policy to rename. The format is
       `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. Resource name of the data policy to rename. The format is
       `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.
    • getNewDataPolicyId

      String getNewDataPolicyId()
       Required. The new data policy id.
       
      string new_data_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The newDataPolicyId.
    • getNewDataPolicyIdBytes

      com.google.protobuf.ByteString getNewDataPolicyIdBytes()
       Required. The new data policy id.
       
      string new_data_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for newDataPolicyId.