Class UpdateVpcFlowLogsConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
com.google.cloud.networkmanagement.v1beta1.UpdateVpcFlowLogsConfigRequest.Builder
All Implemented Interfaces:
UpdateVpcFlowLogsConfigRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateVpcFlowLogsConfigRequest

public static final class UpdateVpcFlowLogsConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder> implements UpdateVpcFlowLogsConfigRequestOrBuilder
 Request for the `UpdateVpcFlowLogsConfig` method.
 
Protobuf type google.cloud.networkmanagement.v1beta1.UpdateVpcFlowLogsConfigRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
    • getDefaultInstanceForType

      public UpdateVpcFlowLogsConfigRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateVpcFlowLogsConfigRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateVpcFlowLogsConfigRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
    • mergeFrom

      public UpdateVpcFlowLogsConfigRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateVpcFlowLogsConfigRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasUpdateMask in interface UpdateVpcFlowLogsConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMask in interface UpdateVpcFlowLogsConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateVpcFlowLogsConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • setUpdateMask

      public UpdateVpcFlowLogsConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeUpdateMask

      public UpdateVpcFlowLogsConfigRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearUpdateMask

      public UpdateVpcFlowLogsConfigRequest.Builder clearUpdateMask()
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Required. Mask of fields to update. At least one path must be supplied in
       this field.
       For example, to change the state of the configuration to ENABLED, specify
       `update_mask` = `"state"`, and the `vpc_flow_logs_config` would be:
       `vpc_flow_logs_config = {
       name =
       "projects/my-project/locations/global/vpcFlowLogsConfigs/my-config"
       state = "ENABLED" }`
       
      .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateVpcFlowLogsConfigRequestOrBuilder
    • hasVpcFlowLogsConfig

      public boolean hasVpcFlowLogsConfig()
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasVpcFlowLogsConfig in interface UpdateVpcFlowLogsConfigRequestOrBuilder
      Returns:
      Whether the vpcFlowLogsConfig field is set.
    • getVpcFlowLogsConfig

      public VpcFlowLogsConfig getVpcFlowLogsConfig()
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVpcFlowLogsConfig in interface UpdateVpcFlowLogsConfigRequestOrBuilder
      Returns:
      The vpcFlowLogsConfig.
    • setVpcFlowLogsConfig

      public UpdateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig value)
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • setVpcFlowLogsConfig

      public UpdateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue)
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeVpcFlowLogsConfig

      public UpdateVpcFlowLogsConfigRequest.Builder mergeVpcFlowLogsConfig(VpcFlowLogsConfig value)
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearVpcFlowLogsConfig

      public UpdateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfig()
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getVpcFlowLogsConfigBuilder

      public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigBuilder()
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getVpcFlowLogsConfigOrBuilder

      public VpcFlowLogsConfigOrBuilder getVpcFlowLogsConfigOrBuilder()
       Required. Only fields specified in update_mask are updated.
       
      .google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getVpcFlowLogsConfigOrBuilder in interface UpdateVpcFlowLogsConfigRequestOrBuilder