Interface Bucket.WebsiteOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Bucket.Website, Bucket.Website.Builder
Enclosing class:
Bucket

public static interface Bucket.WebsiteOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

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

    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

    • getMainPageSuffix

      String getMainPageSuffix()
       Optional. If the requested object path is missing, the service will
       ensure the path has a trailing '/', append this suffix, and attempt to
       retrieve the resulting object. This allows the creation of `index.html`
       objects to represent directory pages.
       
      string main_page_suffix = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The mainPageSuffix.
    • getMainPageSuffixBytes

      com.google.protobuf.ByteString getMainPageSuffixBytes()
       Optional. If the requested object path is missing, the service will
       ensure the path has a trailing '/', append this suffix, and attempt to
       retrieve the resulting object. This allows the creation of `index.html`
       objects to represent directory pages.
       
      string main_page_suffix = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for mainPageSuffix.
    • getNotFoundPage

      String getNotFoundPage()
       Optional. If the requested object path is missing, and any
       `mainPageSuffix` object is missing, if applicable, the service
       will return the named object from this bucket as the content for a
       [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found]
       result.
       
      string not_found_page = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The notFoundPage.
    • getNotFoundPageBytes

      com.google.protobuf.ByteString getNotFoundPageBytes()
       Optional. If the requested object path is missing, and any
       `mainPageSuffix` object is missing, if applicable, the service
       will return the named object from this bucket as the content for a
       [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found]
       result.
       
      string not_found_page = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for notFoundPage.