Class ShowEffectiveFlowLogsConfigsRequest.Builder

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

public static final class ShowEffectiveFlowLogsConfigsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ShowEffectiveFlowLogsConfigsRequest.Builder> implements ShowEffectiveFlowLogsConfigsRequestOrBuilder
 Request for the `ShowEffectiveFlowLogsConfigs` method.
 
Protobuf type google.cloud.networkmanagement.v1beta1.ShowEffectiveFlowLogsConfigsRequest
  • 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<ShowEffectiveFlowLogsConfigsRequest.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<ShowEffectiveFlowLogsConfigsRequest.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<ShowEffectiveFlowLogsConfigsRequest.Builder>
    • getDefaultInstanceForType

      public ShowEffectiveFlowLogsConfigsRequest 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 ShowEffectiveFlowLogsConfigsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ShowEffectiveFlowLogsConfigsRequest.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<ShowEffectiveFlowLogsConfigsRequest.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<ShowEffectiveFlowLogsConfigsRequest.Builder>
    • mergeFrom

      public ShowEffectiveFlowLogsConfigsRequest.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<ShowEffectiveFlowLogsConfigsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The parent resource of the VpcFlowLogsConfig, specified in
       the following format: `projects/{project_id}/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the VpcFlowLogsConfig, specified in
       the following format: `projects/{project_id}/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The parent resource of the VpcFlowLogsConfig, specified in
       the following format: `projects/{project_id}/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The parent resource of the VpcFlowLogsConfig, specified in
       the following format: `projects/{project_id}/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ShowEffectiveFlowLogsConfigsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource of the VpcFlowLogsConfig, specified in
       the following format: `projects/{project_id}/locations/global`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getResource

      public String getResource()
       Required. The resource to get the effective VPC Flow Logs configuration
       for. The resource must belong to the same project as the parent. The
       resource must be a network, subnetwork, interconnect attachment, VPN
       tunnel, or a project.
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResource in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The resource.
    • getResourceBytes

      public com.google.protobuf.ByteString getResourceBytes()
       Required. The resource to get the effective VPC Flow Logs configuration
       for. The resource must belong to the same project as the parent. The
       resource must be a network, subnetwork, interconnect attachment, VPN
       tunnel, or a project.
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getResourceBytes in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The bytes for resource.
    • setResource

       Required. The resource to get the effective VPC Flow Logs configuration
       for. The resource must belong to the same project as the parent. The
       resource must be a network, subnetwork, interconnect attachment, VPN
       tunnel, or a project.
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The resource to set.
      Returns:
      This builder for chaining.
    • clearResource

       Required. The resource to get the effective VPC Flow Logs configuration
       for. The resource must belong to the same project as the parent. The
       resource must be a network, subnetwork, interconnect attachment, VPN
       tunnel, or a project.
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setResourceBytes

      public ShowEffectiveFlowLogsConfigsRequest.Builder setResourceBytes(com.google.protobuf.ByteString value)
       Required. The resource to get the effective VPC Flow Logs configuration
       for. The resource must belong to the same project as the parent. The
       resource must be a network, subnetwork, interconnect attachment, VPN
       tunnel, or a project.
       
      string resource = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for resource to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ShowEffectiveFlowLogsConfigsRequest.Builder setPageSize(int value)
       Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       Optional. Number of `EffectiveVpcFlowLogsConfigs` to return. Default is 30.
       
      int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. Page token from an earlier query, as returned in
       `next_page_token`.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. Page token from an earlier query, as returned in
       `next_page_token`.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

       Optional. Page token from an earlier query, as returned in
       `next_page_token`.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       Optional. Page token from an earlier query, as returned in
       `next_page_token`.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ShowEffectiveFlowLogsConfigsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. Page token from an earlier query, as returned in
       `next_page_token`.
       
      string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
       expression. A filter expression must use the supported [CEL logic
       operators]
       (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
       
      string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
       expression. A filter expression must use the supported [CEL logic
       operators]
       (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
       
      string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface ShowEffectiveFlowLogsConfigsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
       expression. A filter expression must use the supported [CEL logic
       operators]
       (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
       
      string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
       expression. A filter expression must use the supported [CEL logic
       operators]
       (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
       
      string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ShowEffectiveFlowLogsConfigsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. Lists the `EffectiveVpcFlowLogsConfigs` that match the filter
       expression. A filter expression must use the supported [CEL logic
       operators]
       (https://cloud.google.com/vpc/docs/about-flow-logs-records#supported_cel_logic_operators).
       
      string filter = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.